共用方式為


ProvideDesignerLoaderAttribute Class

Definition

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

public ref class ProvideDesignerLoaderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideDesignerLoaderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideDesignerLoaderAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideDesignerLoaderAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideDesignerLoaderAttribute
Inherits RegistrationAttribute
Inheritance
ProvideDesignerLoaderAttribute
Attributes

Constructors

ProvideDesignerLoaderAttribute(AttributeScope, Object)

Provides a new instance of ProvideDesignerLoaderAttribute.

Properties

Scope

Gets the scope of this attribute.

ScopeData

Gets the data for the scope.

TypeId

Gets a unique type value.

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Called to register this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext)

Removes the registration information about a VSPackage when called by an external registration tool such as regpkg.exe.

Applies to