ISymUnmanagedMethod::GetToken Method

Returns the metadata token for this method.

Syntax

HRESULT GetToken(  
   [out, retval]  mdMethodDef  *pToken);  

Parameters

pToken
[out] A pointer to a mdMethodDef that receives the size, in characters, of the buffer required to contain the metadata.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl, CorSym.h

See also