VsMSBuildTaskFileManagerClass::GetFileDocData Method (String^, IntPtr)

 

Retrieves the live punkDocData object for the specified file if the file is registered in the running document table (RDT).

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

Returns S_OK if the method is successful, E_FAIL if the method fails.

Return to top
Show: