TypeToken TypeToken TypeToken TypeToken Struct

定义

表示由元数据返回以表示类型的 TokenRepresents the Token returned by the metadata to represent a type.

public value class TypeToken
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public struct TypeToken
type TypeToken = struct
Public Structure TypeToken
继承
属性

注解

一个对象的类型也称为是对象的类。The type of an object is also known as the class of an object.

字段

Empty Empty Empty Empty

Token 值为 0 的默认 TypeTokenThe default TypeToken with Token value 0.

属性

Token Token Token Token

检索此类的元数据标记。Retrieves the metadata token for this class.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

检查给定对象是否为 TypeToken 的实例和是否等于此实例。Checks if the given object is an instance of TypeToken and is equal to this instance.

Equals(TypeToken) Equals(TypeToken) Equals(TypeToken) Equals(TypeToken)

指示当前实例是否等于指定的 TypeTokenIndicates whether the current instance is equal to the specified TypeToken.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

生成该类型的哈希代码。Generates the hash code for this type.

操作员

Equality(TypeToken, TypeToken) Equality(TypeToken, TypeToken) Equality(TypeToken, TypeToken) Equality(TypeToken, TypeToken)

指示两个 TypeToken 结构是否相等。Indicates whether two TypeToken structures are equal.

Inequality(TypeToken, TypeToken) Inequality(TypeToken, TypeToken) Inequality(TypeToken, TypeToken) Inequality(TypeToken, TypeToken)

指示两个 TypeToken 结构是否不相等。Indicates whether two TypeToken structures are not equal.

适用于