Dela via


ContentRangeHeaderValue.Unit Property

Definition

Gets or sets the unit in which ranges are specified.

public:
 property System::String ^ Unit { System::String ^ get(); void set(System::String ^ value); };
public:
 property Microsoft::Extensions::Primitives::StringSegment Unit { Microsoft::Extensions::Primitives::StringSegment get(); void set(Microsoft::Extensions::Primitives::StringSegment value); };
public string Unit { get; set; }
public Microsoft.Extensions.Primitives.StringSegment Unit { get; set; }
member this.Unit : string with get, set
member this.Unit : Microsoft.Extensions.Primitives.StringSegment with get, set
Public Property Unit As String
Public Property Unit As StringSegment

Property Value

Defaults to bytes.

Applies to