ProvideViewAdapterAttribute Constructor (Type^, AttributeScope, Object^)
Visual Studio 2015
Initializes a new for the specified base type and scope.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
public:
ProvideViewAdapterAttribute(
Type^ baseType,
AttributeScope scope,
Object^ scopeData
)
Parameters
- baseType
-
Type:
System::Type^
The type that this view adapter should handle.
- scope
-
Type:
Microsoft.VisualStudio.Shell.Design::AttributeScope
A value from AttributeScope enumeration.
- scopeData
-
Type:
System::Object^
Data associated with the scope of the attribute.
This constructor checks that the scope value is valid for the scopeData value. If scope is Global, scopeData must be null. If scope is Language, scopeData must be a string value (indicating the name of the language). If scope is File, scopeData must be a string starting with "." (indicating the file extension).
Show: