VsMSBuildTaskFileManagerClass::GetFileContents Method (String^, String^)
Visual Studio 2015
Gets the contents of the specified file, based on what is in memory or if not in memory, what is on disk.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
public: virtual int GetFileContents( String^ wszFilename, [OutAttribute] String^% pbstrFileContents )
Parameters
- wszFilename
-
Type:
System::String^
[in] The name of the file from which to retrieve contents.
- pbstrFileContents
-
Type:
System::String^
[out] The contents retrieved from the specified file.
Return Value
Type: System::Int32Returns S_OK if the method is successful, E_FAIL if the method fails.
Show: