IVsToolboxDataProvider2.GetPackageGUID(Guid) Method

Definition

Retrieves the GUID of the VSPackage to which this data provider belongs.

public:
 int GetPackageGUID([Runtime::InteropServices::Out] Guid % pguidPkg);
public int GetPackageGUID (out Guid pguidPkg);
abstract member GetPackageGUID : Guid -> int
Public Function GetPackageGUID (ByRef pguidPkg As Guid) As Integer

Parameters

pguidPkg
Guid

[out] The GUID of the VSPackage to which this data provider belongs.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsToolboxDataProvider2::GetPackageGUID(  
   [out] GUID* pguidPkg  
);  

Applies to