Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IVsSolution.GetSolutionInfo Method

Returns the required solution file information.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetSolutionInfo(
	out string pbstrSolutionDirectory,
	out string pbstrSolutionFile,
	out 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.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsSolution::GetSolutionInfo(
   [out] BSTR *pbstrSolutionDirectory,
   [out] BSTR *pbstrSolutionFile,
   [out] BSTR *pbstrUserOptsFile
);
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.