共用方式為


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

'宣告
Public Sub New ( _
    baseType As Type _
)
public ProvideViewAdapterAttribute(
    Type baseType
)

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 Overload

Microsoft.VisualStudio.Shell.Design Namespace