共用方式為


ExtensionPointRegistrationAttribute Constructor

Initializes a new instance of the ExtensionPointRegistrationAttribute class.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Sub New ( _
    providerType As Type, _
    name As String _
)
public ExtensionPointRegistrationAttribute(
    Type providerType,
    string name
)

Parameters

  • providerType
    Type: System.Type
    The type implementing the generic's argument extension.
  • name
    Type: System.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.

.NET Framework Security

See Also

Reference

ExtensionPointRegistrationAttribute Class

Microsoft.VisualStudio.Shell Namespace