Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Overridable Function GetFileDocData ( _
wszFilename As String, _
<OutAttribute> ByRef ppunkDocData As IntPtr _
) As Integer
public virtual int GetFileDocData(
string wszFilename,
out IntPtr ppunkDocData
)
public:
virtual int GetFileDocData(
[InAttribute] String^ wszFilename,
[OutAttribute] IntPtr% ppunkDocData
)
abstract GetFileDocData :
wszFilename:string *
ppunkDocData:IntPtr byref -> int
override GetFileDocData :
wszFilename:string *
ppunkDocData:IntPtr byref -> int
public function GetFileDocData(
wszFilename : String,
ppunkDocData : IntPtr
) : int
Parameters
wszFilename
Type: String[in] The name of the file for which to retrieve the punkDocData object.
ppunkDocData
Type: IntPtr%[out] The live object for the specified file, or null if the specified file is not registered in the RDT.
Return Value
Type: Int32
Returns S_OK if the method is successful, E_FAIL if the method fails.
Implements
IVsMSBuildTaskFileManager.GetFileDocData(String, IntPtr%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.