Freigeben über


GCHandle.Equality Operator (GCHandle, GCHandle)

 

Veröffentlicht: Oktober 2016

equivalentCodeEntity

M:System.Runtime.InteropServices.GCHandle.Equals(System.Runtime.InteropServices.GCHandle,System.Runtime.InteropServices.GCHandle)

Gibt einen Wert, der angibt, ob zwei GCHandle -Objekte gleich sind.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

Syntax

public static bool operator ==(
    GCHandle a,
    GCHandle b
)
public:
static bool operator ==(
    GCHandle a,
    GCHandle b
)
static let inline (=)
        a:GCHandle *
        b:GCHandle : bool
Public Shared Operator = (
    a As GCHandle,
    b As GCHandle
) As Boolean

Parameter

Rückgabewert

Type: System.Boolean

true Wenn die a und b sind Parameter gleich sind, andernfalls false.

Versionsinformationen

Universelle Windows-Plattform
Verfügbar seit 8
.NET Framework
Verfügbar seit 2.0
Portierbare Klassenbibliothek
Unterstützt in: portierbare .NET-Plattformen
Windows Phone
Verfügbar seit 8.1

Siehe auch

GCHandle-Struktur
System.Runtime.InteropServices-Namespace

Zurück zum Anfang