Partilhar via


IVsSolution2.GetSolutionInfo(String, String, String) Method

Definition

Returns the required solution file information.

public:
 int GetSolutionInfo([Runtime::InteropServices::Out] System::String ^ % pbstrSolutionDirectory, [Runtime::InteropServices::Out] System::String ^ % pbstrSolutionFile, [Runtime::InteropServices::Out] System::String ^ % pbstrUserOptsFile);
int GetSolutionInfo([Runtime::InteropServices::Out] std::wstring const & & pbstrSolutionDirectory, [Runtime::InteropServices::Out] std::wstring const & & pbstrSolutionFile, [Runtime::InteropServices::Out] std::wstring const & & pbstrUserOptsFile);
public int GetSolutionInfo (out string pbstrSolutionDirectory, out string pbstrSolutionFile, out string pbstrUserOptsFile);
abstract member GetSolutionInfo : string * string * string -> int
Public Function GetSolutionInfo (ByRef pbstrSolutionDirectory As String, ByRef pbstrSolutionFile As String, ByRef pbstrUserOptsFile As String) As Integer

Parameters

pbstrSolutionDirectory
String

[out] Pointer to the solution directory.

pbstrSolutionFile
String

[out] Pointer to the solution file name.

pbstrUserOptsFile
String

[out] Pointer to the solutions options file name.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolution2::GetSolutionInfo(  
   [out] BSTR *pbstrSolutionDirectory,   
   [out] BSTR *pbstrSolutionFile,   
   [out] BSTR *pbstrUserOptsFile  
);  

Applies to