Microsoft SDK for Java

IRemoteMethodField::
GetScope

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.

Syntax

HRESULT GetScope(IRemoteField *pField, ULONG *poffStart, ULONG *pcbScope)

Parameters

[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.

Return Value

S_OK Success.

E_FAIL The given field is not a field of this method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.