Share via


HostedFileContent.Scope Property

Definition

Gets or sets the scope (e.g. container ID) in which the file resides.

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

Property Value

Attributes

Remarks

When set, file operations such as downloading will target this scope. For example, files created by a code interpreter tool are stored in a container, and the container ID is the scope needed to access them.

Applies to