通过


HostedFileContent.Scope 属性

定义

获取或设置文件所在的范围(例如容器 ID)。

public:
 property System::String ^ Scope { System::String ^ get(); void set(System::String ^ value); };
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
[System.Text.Json.Serialization.JsonIgnore]
public string? Scope { get; set; }
[System.Text.Json.Serialization.JsonIgnore]
public string? Scope { get; set; }
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
[<System.Text.Json.Serialization.JsonIgnore>]
member this.Scope : string with get, set
[<System.Text.Json.Serialization.JsonIgnore>]
member this.Scope : string with get, set
Public Property Scope As String

属性值

属性

注解

设置后,下载等文件操作将面向此范围。 例如,由代码解释器工具创建的文件存储在容器中,容器 ID 是访问它们所需的范围。

适用于