Share via


VsMSBuildTaskFileManagerClass.GetFileDocData(String, IntPtr) Method

Definition

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

public:
 virtual int GetFileDocData(System::String ^ wszFilename, [Runtime::InteropServices::Out] IntPtr % ppunkDocData) = Microsoft::VisualStudio::Shell::Interop::IVsMSBuildTaskFileManager::GetFileDocData;
public:
 virtual int GetFileDocData(System::String ^ wszFilename, [Runtime::InteropServices::Out] IntPtr % ppunkDocData);
public virtual int GetFileDocData (string wszFilename, out IntPtr ppunkDocData);
abstract member GetFileDocData : string * nativeint -> int
override this.GetFileDocData : string * nativeint -> int
Public Overridable Function GetFileDocData (wszFilename As String, ByRef ppunkDocData As IntPtr) As Integer

Parameters

wszFilename
String

[in] The name of the file for which to retrieve the punkDocData object.

ppunkDocData
IntPtr

nativeint

[out] The live object for the specified file, or null if the specified file is not registered in the RDT.

Returns

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

Implements

Applies to