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.
Retrieves a segment by means of an index.
Syntax
HRESULT Item (
DWORD index,
IDiaSegment** segment
);
Parameters
index
[in] Index of the IDiaSegment object to be retrieved. The index is in the range 0 to count-1, where count is returned by the IDiaEnumSegments::get_Count method.
segment
[out] Returns an IDiaSegment object representing the desired segment.
Return Value
If successful, returns S_OK; otherwise, returns an error code.