Freigeben über


ProvideViewAdapterAttribute Constructor (Type)

Initializes a new instance of ProvideViewAdapterAttribute for the specified base type.

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

Syntax

'Declaration
Public Sub New ( _
    baseType As Type _
)
'Usage
Dim baseType As Type

Dim instance As New ProvideViewAdapterAttribute(baseType)
public ProvideViewAdapterAttribute(
    Type baseType
)
public:
ProvideViewAdapterAttribute(
    Type^ baseType
)
new : 
        baseType:Type -> ProvideViewAdapterAttribute
public function ProvideViewAdapterAttribute(
    baseType : Type
)

Parameters

  • baseType
    Type: System.Type
    The type that this view adapter should handle.

Remarks

This constructor creates a view adapter with global scope, that can handle any object of the given type.

.NET Framework Security

See Also

Reference

ProvideViewAdapterAttribute Class

ProvideViewAdapterAttribute Members

ProvideViewAdapterAttribute Overload

Microsoft.VisualStudio.Shell.Design Namespace