ContentRangeHeaderValue Class¶
- Namespace
Microsoft.Net.Http.Headers
- Assemblies
- Microsoft.Net.Http.Headers
Syntax¶
public class ContentRangeHeaderValue
-
class
Microsoft.Net.Http.Headers.
ContentRangeHeaderValue
Constructors¶
-
ContentRangeHeaderValue
(System.Int64)¶ public ContentRangeHeaderValue(long length)
-
ContentRangeHeaderValue
(System.Int64, System.Int64) public ContentRangeHeaderValue(long from, long to)
-
ContentRangeHeaderValue
(System.Int64, System.Int64, System.Int64) public ContentRangeHeaderValue(long from, long to, long length)
-
Methods¶
-
Equals
(System.Object)¶ Return type: System.Boolean public override bool Equals(object obj)
-
GetHashCode
()¶ Return type: System.Int32 public override int GetHashCode()
-
Parse
(System.String)¶ Return type: Microsoft.Net.Http.Headers.ContentRangeHeaderValue public static ContentRangeHeaderValue Parse(string input)
-
ToString
()¶ Return type: System.String public override string ToString()
-
TryParse
(System.String, out Microsoft.Net.Http.Headers.ContentRangeHeaderValue)¶ Return type: System.Boolean public static bool TryParse(string input, out ContentRangeHeaderValue parsedValue)
-
Properties¶
-
Microsoft.Net.Http.Headers.ContentRangeHeaderValue.
From
¶ Return type: System.Nullable<System.Int64> public long ? From { get; }
-
Microsoft.Net.Http.Headers.ContentRangeHeaderValue.
HasLength
¶ Return type: System.Boolean public bool HasLength { get; }
-
Microsoft.Net.Http.Headers.ContentRangeHeaderValue.
HasRange
¶ Return type: System.Boolean public bool HasRange { get; }
-
Microsoft.Net.Http.Headers.ContentRangeHeaderValue.
Length
¶ Return type: System.Nullable<System.Int64> public long ? Length { get; }
-
Microsoft.Net.Http.Headers.ContentRangeHeaderValue.
To
¶ Return type: System.Nullable<System.Int64> public long ? To { get; }
-
Microsoft.Net.Http.Headers.ContentRangeHeaderValue.
Unit
¶ Return type: System.String public string Unit { get; set; }
-