ProvideDesignerLoaderAttribute Class

 

Place this attribute on a class that is derived from DesignerLoader to associate the class with a particular language service or file extension.

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

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.Design.Serialization.ProvideDesignerLoaderAttribute

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

NameDescription
System_CAPS_pubmethodProvideDesignerLoaderAttribute(AttributeScope, Object)

Provides a new instance of ProvideDesignerLoaderAttribute.

NameDescription
System_CAPS_pubpropertyScope

Gets the scope of this attribute.

System_CAPS_pubpropertyScopeData

Gets the data for the scope.

System_CAPS_pubpropertyTypeId

Gets a unique type value.(Overrides RegistrationAttribute.TypeId.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodRegister(RegistrationAttribute.RegistrationContext)

Called to register this attribute with the given context.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnregister(RegistrationAttribute.RegistrationContext)

Removes the registration information about a VSPackage when called by an external registration tool such as regpkg.exe.(Overrides RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext).)

If the class is associated with a language service, the loader will be available to all files that share the same language service. If the class is associated with a file extension the loader will be available only to files with the extension. The choice of language and file extension is determined by the AttributeScope enumeration. The following values are allowed:

AttributeScope

ScopeData

Language

language service name

File

String (extension, including ".")

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: