Aracılığıyla paylaş


MethodToken Yapı

Tanım

MethodToken yapısı, bir yöntemi temsil eden bir belirtecin nesne gösterimidir.

public value class MethodToken
[System.Serializable]
public struct MethodToken
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct MethodToken
[<System.Serializable>]
type MethodToken = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type MethodToken = struct
Public Structure MethodToken
Devralma
MethodToken
Öznitelikler

Alanlar

Name Description
Empty

MethodToken Token Varsayılan değer 0'dır.

Özellikler

Name Description
Token

Bu yöntem için meta veri belirtecini döndürür.

Yöntemler

Name Description
Equals(MethodToken)

Geçerli örneğin belirtilen MethodTokenöğesine eşit olup olmadığını gösterir.

Equals(Object)

Verilen nesnenin bu MethodToken nesneye eşit olup olmadığını sınar.

GetHashCode()

Bu yöntem için oluşturulan karma kodu döndürür.

İşleçler

Name Description
Equality(MethodToken, MethodToken)

İki MethodToken yapının eşit olup olmadığını gösterir.

Inequality(MethodToken, MethodToken)

İki MethodToken yapının eşit olup olmadığını gösterir.

Şunlara uygulanır