Struct Range
Torrent piece range.
Implements
System.IFormattable
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public struct Range : IFormattable
Constructors
| Improve this Doc View SourceRange(Int64, Int64)
Initializes a new instance of the Range struct.
Declaration
public Range(long startIndex, long endIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | startIndex | The start index. |
System.Int64 | endIndex | The end index. |
Properties
| Improve this Doc View SourceEndIndex
Gets the end index.
Declaration
public readonly long EndIndex { get; }
Property Value
Type | Description |
---|---|
System.Int64 | The end index. |
StartIndex
Gets the start index.
Declaration
public readonly long StartIndex { get; }
Property Value
Type | Description |
---|---|
System.Int64 | The start index. |
Methods
| Improve this Doc View SourceToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.ValueType.ToString()
|
Improve this Doc
View Source
ToString(String, IFormatProvider)
Returns a System.String that represents this instance.
Declaration
public string ToString(string format, IFormatProvider formatProvider)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | The format. |
System.IFormatProvider | formatProvider | The format provider. |
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Implements
System.IFormattable
See Also
System.IFormattable