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.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
System.Attribute
Microsoft.VisualStudio.Shell.RegistrationAttribute
Microsoft.VisualStudio.Shell.Design.Serialization.ProvideDesignerLoaderAttribute
| Name | Description | |
|---|---|---|
![]() | ProvideDesignerLoaderAttribute(AttributeScope, Object) | Provides a new instance of ProvideDesignerLoaderAttribute. |
| Name | Description | |
|---|---|---|
![]() | Scope | Gets the scope of this attribute. |
![]() | ScopeData | Gets the data for the scope. |
![]() | TypeId | Gets a unique type value.(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) | Called to register this attribute with the given context.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).) |
![]() | ToString() | (Inherited from Object.) |
![]() | Unregister(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).) |
| 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.) |
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.



