This documentation is archived and is not being maintained.
MethodToken Structure
Visual Studio 2010
The MethodToken struct is an object representation of a token that represents a method.
Assembly: mscorlib (in mscorlib.dll)
The MethodToken type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals(MethodToken) | Indicates whether the current instance is equal to the specified MethodToken. |
![]() | Equals(Object) | Tests whether the given object is equal to this MethodToken object. (Overrides ValueType::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the generated hash code for this method. (Overrides ValueType::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Indicates whether two MethodToken structures are equal. |
![]() ![]() | Inequality | Indicates whether two MethodToken structures are not equal. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
