共用方式為


ExtensionPointRegistrationAttribute(Type, String) Constructor

Definition

When applied to a Package, registers the package as an Extension Point Provider for the specified type.

public:
 ExtensionPointRegistrationAttribute(Type ^ providerType, System::String ^ name);
public:
 ExtensionPointRegistrationAttribute(Platform::Type ^ providerType, Platform::String ^ name);
public ExtensionPointRegistrationAttribute (Type providerType, string name);
new Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute : Type * string -> Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute
Public Sub New (providerType As Type, name As String)

Parameters

providerType
Type

The type implementing the generic's argument extension.

name
String

A short, non-localized human-readable name of the provider

Remarks

When applied to a Package, ExtensionPointRegistrationAttribute registers the package as an extension point provider for the specified type.

Applies to