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.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.Design.ProvideViewAdapterAttribute

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ProvideViewAdapterAttribute : RegistrationAttribute

NameDescription
System_CAPS_pubmethodProvideViewAdapterAttribute(Type)

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

System_CAPS_pubmethodProvideViewAdapterAttribute(Type, AttributeScope, Object)

Initializes a new for the specified base type and scope.

NameDescription
System_CAPS_pubpropertyBaseType

Gets the base type of the view adapter.

System_CAPS_pubpropertyScope

Gets the attribute scope of the view adapter.

System_CAPS_pubpropertyScopeData

Gets the scope data associated with the scope of the view adapter.

System_CAPS_pubpropertyTypeId

Gets an ID that is unique for each attribute scope. (Overrides RegistrationAttribute.TypeId.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: