ExtensionPointRegistrationAttribute Constructor
Initializes a new instance of the ExtensionPointRegistrationAttribute class.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
providerType As Type, _
name As String _
)
public ExtensionPointRegistrationAttribute(
Type providerType,
string name
)
public:
ExtensionPointRegistrationAttribute(
Type^ providerType,
String^ name
)
new :
providerType:Type *
name:string -> ExtensionPointRegistrationAttribute
public function ExtensionPointRegistrationAttribute(
providerType : Type,
name : String
)
Parameters
providerType
Type: TypeThe type implementing the generic's argument extension.
name
Type: StringA 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.