MethodToken Struct
Definition
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
Fields
Empty |
The default |
Properties
Token |
Returns the metadata token for this method. |
Methods
Equals(MethodToken) |
Indicates whether the current instance is equal to the specified MethodToken. |
Equals(Object) |
Tests whether the given object is equal to this |
GetHashCode() |
Returns the generated hash code for this method. |
Operators
Equality(MethodToken, MethodToken) |
Indicates whether two MethodToken structures are equal. |
Inequality(MethodToken, MethodToken) |
Indicates whether two MethodToken structures are not equal. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈