ArrayWithOffset Struktura

Definicja

Hermetyzuje tablicę i przesunięcie w określonej tablicy.

public value class ArrayWithOffset
public value class ArrayWithOffset : IEquatable<System::Runtime::InteropServices::ArrayWithOffset>
public struct ArrayWithOffset
public readonly struct ArrayWithOffset
public readonly struct ArrayWithOffset : IEquatable<System.Runtime.InteropServices.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)
Dziedziczenie
ArrayWithOffset
Atrybuty
Implementuje

Uwagi

Można użyć jako argumentu metody natywnej osiągniętej za pośrednictwem wywołania platformy. W takim przypadku funkcja marshaler wywołania platformy pobierze adres początkowy tablicy, doda przesunięcie i przekaże wynikowy wskaźnik do podstawowej funkcji natywnej. Ta struktura obsługuje tylko tablice bez odwołań, takich jak tablice typów pierwotnych i tablice typów wartości zawierające tylko pola typów pierwotnych.

Konstruktory

ArrayWithOffset(Object, Int32)

Inicjuje ArrayWithOffset nowe wystąpienie struktury.

Metody

Equals(ArrayWithOffset)

Wskazuje, czy określony ArrayWithOffset obiekt jest zgodny z bieżącym wystąpieniem.

Equals(Object)

Wskazuje, czy określony obiekt jest zgodny z bieżącym ArrayWithOffset obiektem.

GetArray()

Zwraca tablicę zarządzaną przywołyną przez ten ArrayWithOffsetelement .

GetHashCode()

Zwraca kod skrótu dla tego typu wartości.

GetOffset()

Zwraca przesunięcie podane podczas konstruowania.ArrayWithOffset

Operatory

Equality(ArrayWithOffset, ArrayWithOffset)

Określa, czy dwa określone ArrayWithOffset obiekty mają tę samą wartość.

Inequality(ArrayWithOffset, ArrayWithOffset)

Określa, czy dwa określone ArrayWithOffset obiekty nie mają tej samej wartości.

Dotyczy