IVsSolution2::GetSolutionInfo Method (String^, String^, String^)
Visual Studio 2015
Returns the required solution file information.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetSolutionInfo(
[OutAttribute] String^% pbstrSolutionDirectory,
[OutAttribute] String^% pbstrSolutionFile,
[OutAttribute] String^% pbstrUserOptsFile
)
Parameters
- pbstrSolutionDirectory
-
Type:
System::String^
[out] Pointer to the solution directory.
- pbstrSolutionFile
-
Type:
System::String^
[out] Pointer to the solution file name.
- pbstrUserOptsFile
-
Type:
System::String^
[out] Pointer to the solutions options file name.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsSolution2::GetSolutionInfo( [out] BSTR *pbstrSolutionDirectory, [out] BSTR *pbstrSolutionFile, [out] BSTR *pbstrUserOptsFile );
Show: