共用方式為


ProvideViewAdapterAttribute Constructors

Definition

Overloads

ProvideViewAdapterAttribute(Type)

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

ProvideViewAdapterAttribute(Type, AttributeScope, Object)

Initializes a new for the specified base type and scope.

ProvideViewAdapterAttribute(Type)

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

public:
 ProvideViewAdapterAttribute(Type ^ baseType);
public:
 ProvideViewAdapterAttribute(Platform::Type ^ baseType);
public ProvideViewAdapterAttribute (Type baseType);
new Microsoft.VisualStudio.Shell.Design.ProvideViewAdapterAttribute : Type -> Microsoft.VisualStudio.Shell.Design.ProvideViewAdapterAttribute
Public Sub New (baseType As Type)

Parameters

baseType
Type

The type that this view adapter should handle.

Applies to

ProvideViewAdapterAttribute(Type, AttributeScope, Object)

Initializes a new for the specified base type and scope.

public:
 ProvideViewAdapterAttribute(Type ^ baseType, Microsoft::VisualStudio::Shell::Design::AttributeScope scope, System::Object ^ scopeData);
public:
 ProvideViewAdapterAttribute(Platform::Type ^ baseType, Microsoft::VisualStudio::Shell::Design::AttributeScope scope, Platform::Object ^ scopeData);
public ProvideViewAdapterAttribute (Type baseType, Microsoft.VisualStudio.Shell.Design.AttributeScope scope, object scopeData);
new Microsoft.VisualStudio.Shell.Design.ProvideViewAdapterAttribute : Type * Microsoft.VisualStudio.Shell.Design.AttributeScope * obj -> Microsoft.VisualStudio.Shell.Design.ProvideViewAdapterAttribute
Public Sub New (baseType As Type, scope As AttributeScope, scopeData As Object)

Parameters

baseType
Type

The type that this view adapter should handle.

scope
AttributeScope

A value from AttributeScope enumeration.

scopeData
Object

Data associated with the scope of the attribute.

Applies to