TypeToken Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
The type of an object is also known as the class of an object.
Token |
Retrieves the metadata token for this class. |
Equals(Object) |
Checks if the given object is an instance of |
Equals(Type |
Indicates whether the current instance is equal to the specified TypeToken. |
Get |
Generates the hash code for this type. |
Equality(Type |
Indicates whether two TypeToken structures are equal. |
Inequality(Type |
Indicates whether two TypeToken structures are not equal. |
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: