ArrayWithOffset Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates an array and an offset within the specified array.
public value class ArrayWithOffset
public value class ArrayWithOffset : IEquatable<System::Runtime::InteropServices::ArrayWithOffset>
public struct ArrayWithOffset
public readonly struct ArrayWithOffset : IEquatable<System.Runtime.InteropServices.ArrayWithOffset>
public readonly struct ArrayWithOffset
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public struct ArrayWithOffset
type ArrayWithOffset = struct
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type ArrayWithOffset = struct
Public Structure ArrayWithOffset
Public Structure ArrayWithOffset
Implements IEquatable(Of ArrayWithOffset)
- Inheritance
- Attributes
- Implements
Can be used as an argument to a native method reached through platform invoke. In this case, the platform invoke marshaler will retrieve the starting address of the array, add the offset, and pass the resulting pointer to the underlying native function. This structure only supports arrays containing no references, such as primitive type arrays and value type arrays containing only fields of primitive types.
Array |
Initializes a new instance of the ArrayWithOffset structure. |
Equals(Array |
Indicates whether the specified ArrayWithOffset object matches the current instance. |
Equals(Object) |
Indicates whether the specified object matches the current ArrayWithOffset object. |
Get |
Returns the managed array referenced by this ArrayWithOffset. |
Get |
Returns a hash code for this value type. |
Get |
Returns the offset provided when this ArrayWithOffset was constructed. |
Equality(Array |
Determines whether two specified ArrayWithOffset objects have the same value. |
Inequality(Array |
Determines whether two specified ArrayWithOffset objects no not have the same value. |
Продукт | Версии |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: