Bewerken

Share via


TypeToken Struct

Definition

Represents the Token returned by the metadata to represent a type.

public value class TypeToken
[System.Serializable]
public struct TypeToken
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct TypeToken
[<System.Serializable>]
type TypeToken = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeToken = struct
Public Structure TypeToken
Inheritance
TypeToken
Attributes

Remarks

The type of an object is also known as the class of an object.

Fields

Empty

The default TypeToken with Token value 0.

Properties

Token

Retrieves the metadata token for this class.

Methods

Equals(Object)

Checks if the given object is an instance of TypeToken and is equal to this instance.

Equals(TypeToken)

Indicates whether the current instance is equal to the specified TypeToken.

GetHashCode()

Generates the hash code for this type.

Operators

Equality(TypeToken, TypeToken)

Indicates whether two TypeToken structures are equal.

Inequality(TypeToken, TypeToken)

Indicates whether two TypeToken structures are not equal.

Applies to