VsMSBuildTaskFileManagerClass.GetFileContents Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

‘선언
Public Overridable Function GetFileContents ( _
    wszFilename As String, _
    <OutAttribute> ByRef pbstrFileContents As String _
) As Integer
‘사용 방법
Dim instance As VsMSBuildTaskFileManagerClass
Dim wszFilename As String
Dim pbstrFileContents As String
Dim returnValue As Integer

returnValue = instance.GetFileContents(wszFilename, _
    pbstrFileContents)
public virtual int GetFileContents(
    string wszFilename,
    out string pbstrFileContents
)
public:
virtual int GetFileContents(
    [InAttribute] String^ wszFilename, 
    [OutAttribute] String^% pbstrFileContents
)
abstract GetFileContents : 
        wszFilename:string * 
        pbstrFileContents:string byref -> int 
override GetFileContents : 
        wszFilename:string * 
        pbstrFileContents:string byref -> int 
public function GetFileContents(
    wszFilename : String, 
    pbstrFileContents : String
) : int

Parameters

Return Value

Type: System.Int32

Implements

IVsMSBuildTaskFileManager.GetFileContents(String, String%)

.NET Framework Security

See Also

Reference

VsMSBuildTaskFileManagerClass Class

VsMSBuildTaskFileManagerClass Members

Microsoft.VisualStudio.Shell.Interop Namespace