共用方式為


ProvideBrokeredServiceAttribute.GetPackageGuid Method

Definition

Gets a GUID for the package that proffers this service.

protected:
 virtual Guid GetPackageGuid(Microsoft::VisualStudio::Shell::RegistrationAttribute::RegistrationContext ^ context);
protected virtual Guid GetPackageGuid (Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext context);
abstract member GetPackageGuid : Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext -> Guid
override this.GetPackageGuid : Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext -> Guid
Protected Overridable Function GetPackageGuid (context As RegistrationAttribute.RegistrationContext) As Guid

Parameters

Returns

The guid to load.

Applies to