IVsMSBuildTaskFileManager::GetFileDocData Method (String^, IntPtr)
Visual Studio 2015
Gets the DocData object for a file registered in the RDT.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Parameters
- wszFilename
-
Type:
System::String^
[in] The name of the file.
- ppunkDocData
-
Type:
System::IntPtr
[out] A pointer to the DocData object interface.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code. If the specified file is not registered in the RDT, it returns NULL.
From vsshell90.idl:
HRESULT GetFileDocData(
[in] LPCOLESTR wszFilename,
[out, retval] IUnknown** ppunkDocData
);
Show: