Compartir a través de


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

'Declaración
Public Sub New ( _
    providerType As Type _
)
public ProvideGlobalObjectProviderAttribute(
    Type providerType
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

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

.NET Framework Security

See Also

Reference

ProvideGlobalObjectProviderAttribute Class

Microsoft.VisualStudio.Shell.Design Namespace

GlobalObjectProvider