TypeToken Struct

Definition

Represents 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
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