VsMSBuildTaskFileManagerClass::GetFileDocData Method (String^, IntPtr)
Visual Studio 2015
Retrieves the live punkDocData object for the specified file if the file is registered in the running document table (RDT).
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
public: virtual int GetFileDocData( String^ wszFilename, [OutAttribute] IntPtr% ppunkDocData )
Parameters
- wszFilename
-
Type:
System::String^
[in] The name of the file for which to retrieve the punkDocData object.
- ppunkDocData
-
Type:
System::IntPtr
[out] The live object for the specified file, or null if the specified file is not registered in the RDT.
Return Value
Type: System::Int32Returns S_OK if the method is successful, E_FAIL if the method fails.
Show: