The GetMethod method of the IMethodLocation interface returns an IRemoteMethodField interface representing the method that contains this location.
HRESULT GetMethod(IRemoteMethodField **ppirmf)
[out] **ppirmf | Returns the method that contains this location. |
S_OK Success.
E_OUTOFMEMORY Insufficient memory.