หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Retrieves a source file by means of an index.
Syntax
HRESULT Item (
DWORD index,
IDiaSourceFile** sourceFile
);
Parameters
index
[in] Index of the IDiaSourceFile object to be retrieved. The index is in the range 0 to count-1, where count is returned by the IDiaEnumSourceFiles::get_Count method.
sourceFile
[out] Returns an IDiaSourceFile object representing the desired source file.
Return Value
If successful, returns S_OK; otherwise, returns an error code.