RangeHeaderValue.Unit 属性

定义

获取或设置 标头中的单元。

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

属性值

默认为 bytes

适用于