ProvideGlobalObjectProviderAttribute Constructor
Initializes a new instance of the ProvideGlobalObjectProviderAttribute class.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
'宣告
Public Sub New ( _
providerType As Type _
)
public ProvideGlobalObjectProviderAttribute(
Type providerType
)
- providerType
Type: System.Type
The Type of the provider. The provider must derive from the GlobalObjectProvider class
Exception | Condition |
---|---|
ArgumentNullException | providerType is nulla null reference (Nothing in Visual Basic). |
The ProvideGlobalObjectProviderAttribute constructor sets the ProviderType property to the providerType parameter.
- 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.
ProvideGlobalObjectProviderAttribute Class