Delen via


HttpContentRangeHeaderValue.Unit Property

Definition

Gets or sets the value of the range units used in the Content-Range HTTP header.

public:
 property Platform::String ^ Unit { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Unit();

void Unit(winrt::hstring value);
public string Unit { get; set; }
var string = httpContentRangeHeaderValue.unit;
httpContentRangeHeaderValue.unit = string;
Public Property Unit As String

Property Value

String

Platform::String

winrt::hstring

The range units used.

Remarks

The only range unit defined by HTTP/1.1 is "bytes".

Applies to