Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Specifies the true start and end of a method within a source file. Use this method to specify the extent of a method independently of the sequence points that exist within the method.
Syntax
HRESULT SetMethodSourceRange(
[in] ISymUnmanagedDocumentWriter *startDoc,
[in] ULONG32 startLine,
[in] ULONG32 startColumn,
[in] ISymUnmanagedDocumentWriter *endDoc,
[in] ULONG32 endLine,
[in] ULONG32 endColumn);
Parameters
startDoc
[in] A pointer to the document containing the starting position.
startLine
[in] The starting line number.
startColumn
[in] The starting column.
endDoc
[in] A pointer to the document containing the ending position.
endLine
[in] The ending line number.
endColumn
[in] The ending column number.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h