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)
Syntax
'Declaración
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
Public NotInheritable Class ProvideViewAdapterAttribute _
Inherits RegistrationAttribute
'Uso
Dim instance As ProvideViewAdapterAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ProvideViewAdapterAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
public ref class ProvideViewAdapterAttribute sealed : public RegistrationAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)>]
type ProvideViewAdapterAttribute =
class
inherit RegistrationAttribute
end
public final class ProvideViewAdapterAttribute extends RegistrationAttribute
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.Design.ProvideViewAdapterAttribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.