Compartilhar via


IVsProfileSettingsTree.GetPackage(String) Method

Definition

Gets the package associated with the tree.

public:
 int GetPackage([Runtime::InteropServices::Out] System::String ^ % pbstrPackage);
int GetPackage([Runtime::InteropServices::Out] std::wstring const & & pbstrPackage);
public int GetPackage (out string pbstrPackage);
abstract member GetPackage : string -> int
Public Function GetPackage (ByRef pbstrPackage As String) As Integer

Parameters

pbstrPackage
String

[out] path to the package.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsProfileSettingsTree::GetPackage(

[out] BSTR *pbstrPackage

);

Applies to