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)

Syntax

'宣言
Public Sub New ( _
    providerType As Type _
)
'使用
Dim providerType As Type

Dim instance As New ProvideGlobalObjectProviderAttribute(providerType)
public ProvideGlobalObjectProviderAttribute(
    Type providerType
)
public:
ProvideGlobalObjectProviderAttribute(
    Type^ providerType
)
public function ProvideGlobalObjectProviderAttribute(
    providerType : Type
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

providerType is a null reference (Nothing in Visual Basic).

Remarks

The ProvideGlobalObjectProviderAttribute constructor sets the ProviderType property to the providerType parameter.

Permissions

See Also

Reference

ProvideGlobalObjectProviderAttribute Class

ProvideGlobalObjectProviderAttribute Members

Microsoft.VisualStudio.Shell.Design Namespace

GlobalObjectProvider