Compartir a través de


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 _
)
public ProvideViewAdapterAttribute(
    Type baseType
)
public:
ProvideViewAdapterAttribute(
    Type^ baseType
)
new : 
        baseType:Type -> ProvideViewAdapterAttribute
public function ProvideViewAdapterAttribute(
    baseType : Type
)

Parameters

  • baseType
    Type: 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 Overload

Microsoft.VisualStudio.Shell.Design Namespace