MethodToken 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.
The MethodToken
struct is an object representation of a token that represents a method.
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
- Inheritance
- Attributes
Token |
Returns the metadata token for this method. |
Equals(Method |
Indicates whether the current instance is equal to the specified MethodToken. |
Equals(Object) |
Tests whether the given object is equal to this |
Get |
Returns the generated hash code for this method. |
Equality(Method |
Indicates whether two MethodToken structures are equal. |
Inequality(Method |
Indicates whether two MethodToken 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: