ProvideViewAdapterAttribute Class
This attribute can be placed on classes that derive from DesignerWindowPane to associate them with a particular type of view. There are three types of view adapters: file adapters provide support only for a specific file, language adapters support all the files associated with a given language service, and global adapters are available for any type.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.Design.ProvideViewAdapterAttribute
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | BaseType | Gets the base type of the view adapter. |
![]() | Scope | Gets the attribute scope of the view adapter. |
![]() | ScopeData | Gets the scope data associated with the scope of the view adapter. |
![]() | TypeId | Gets an ID that is unique for each attribute scope. (Overrides RegistrationAttribute.TypeId.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | Register(RegistrationAttribute.RegistrationContext) | Registers the view adapter.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(RegistrationAttribute.RegistrationContext) | Removes the view adapter's registry key.(Overrides RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext).) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



