StackFrame.MethodToken Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the CLR metadata token for the method of this frame.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public Property MethodToken As Integer
Get
Private Set
'Usage
Dim instance As StackFrame
Dim value As Integer
value = instance.MethodToken
public int MethodToken { get; private set; }
public:
property int MethodToken {
int get ();
private: void set (int value);
}
member MethodToken : int with get, private set
function get MethodToken () : int
private function set MethodToken (value : int)
Property Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.