IVsCodeDefViewContext::GetFileName Method (UInt32, String^)
Visual Studio 2015
Retrieves the file for an item based on its index in a list of context items.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- iItem
-
Type:
System::UInt32
[in] Index of the context item.
- pbstrFilename
-
Type:
System::String^
[out] String containing the file name for the item.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsCodeDefViewContext::GetFileName( ULONG iItem, BSTR *pbstrFileName );
Show: