Returns the token used to identify the specified method within this module.
[Visual Basic] Public Function GetMethodToken( _ ByVal method As MethodInfo _ ) As MethodToken [C#] public MethodToken GetMethodToken( MethodInfo method ); [C++] public: MethodToken GetMethodToken( MethodInfo* method ); [JScript] public function GetMethodToken( method : MethodInfo ) : MethodToken;
Returns the token used to identify the method represented by method within this module.
Exception Type | Condition |
---|---|
ArgumentNullException | if method is a null reference (in Visual Basic Nothing) |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace