次の方法で共有


DataContent.Data Property

Definition

Gets the data represented by this instance.

public:
 property Nullable<ReadOnlyMemory<System::Byte>> Data { Nullable<ReadOnlyMemory<System::Byte>> get(); };
[System.Text.Json.Serialization.JsonIgnore]
public ReadOnlyMemory<byte>? Data { get; }
[<System.Text.Json.Serialization.JsonIgnore>]
member this.Data : Nullable<ReadOnlyMemory<byte>>
Public ReadOnly Property Data As Nullable(Of ReadOnlyMemory(Of Byte))

Property Value

Attributes

Remarks

If the instance was constructed from a ReadOnlyMemory<T>, this property returns that data. If the instance was constructed from a data URI, this property the data contained within the data URI. If, however, the instance was constructed from another form of URI, one that simply references where the data can be found but doesn't actually contain the data, this property returns null; no attempt is made to retrieve the data from that URI.

Applies to