ISymUnmanagedMethod::GetScopeFromOffset Method
Gets the most enclosing lexical scope within this method that encloses the given offset. This can be used to start local variable searches.
Syntax
HRESULT GetScopeFromOffset(
[in] ULONG32 offset,
[out, retval] ISymUnmanagedScope** pRetVal);
Parameters
offset
[in] A ULONG
that contains the offset.
pRetVal
[out] A pointer that is set to the returned ISymUnmanagedScope interface.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.