The GetScope method of the IRemoteMethodField interface returns the range of bytecode offsets within which the given field is in scope in this method. If a field is in scope at the current point of execution in this method, its value can be obtained by the debugger.
HRESULT GetScope(IRemoteField *pField, ULONG *poffStart, ULONG *pcbScope)
[in] pField | The field whose scope within this method is to be determined. |
[out] poffStart | The bytecode offset within this method where the scope of the given field begins. |
[out] pcbScope | The length of the scope of the given field in this method, in bytes. |
S_OK Success.
E_FAIL The given field is not a field of this method.