[]
The maximum number of bytes to which a pointer can point. Use for a count that must span the full range of a pointer. Equivalent to Windows type SIZE_T.
public struct PointerSize
| Name | Description |
|---|---|
| PointerSize(int) | Default constructor. |
| PointerSize(long) | Default constructor. |
| PointerSize(IntPtr) | Initializes a new instance of the PointerSize struct. |
| Name | Description |
|---|---|
| Zero | An empty pointer size initialized to zero. |
| Name | Description |
|---|---|
| Equals(PointerSize) | Determines whether the specified PointerSize is equal to this instance. |
| Equals(object) | Determines whether the specified object is equal to this instance. |
| GetHashCode() | Returns a hash code for this instance. |
| ToString() | Returns a string that represents this instance. |
| ToString(string) | Returns a string that represents this instance. |
| Name | Description |
|---|---|
| operator +(PointerSize, PointerSize) | Adds two sizes. |
| operator /(PointerSize, int) | Scales a size by the given value. |
| operator ==(PointerSize, PointerSize) | Tests for equality between two objects. |
| implicit operator int(PointerSize) | Performs an implicit conversion from PointerSize to int. |
| implicit operator long(PointerSize) | Performs an implicit conversion from PointerSize to long. |
| implicit operator IntPtr(PointerSize) | Performs an implicit conversion from PointerSize to IntPtr. |
| implicit operator void*(PointerSize) | Performs an implicit conversion from PointerSize to void*. |
| implicit operator PointerSize(int) | Performs an implicit conversion from PointerSize to int. |
| implicit operator PointerSize(long) | Performs an implicit conversion from PointerSize to long. |
| implicit operator PointerSize(IntPtr) | Performs an implicit conversion from IntPtr to PointerSize. |
| implicit operator PointerSize(void*) | Performs an implicit conversion from void* to PointerSize. |
| operator !=(PointerSize, PointerSize) | Tests for inequality between two objects. |
| operator *(PointerSize, int) | Scales a size by the given value. |
| operator *(int, PointerSize) | Scales a size by the given value. |
| operator -(PointerSize, PointerSize) | Subtracts two sizes. |
| operator -(PointerSize) | Reverses the direction of a given size. |
| operator +(PointerSize) | Assert a size (return it unchanged). |