다음을 통해 공유


ProvideEditorFactoryAttribute Class

This attribute declares that the VSPackage provides an editor factory.

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

Syntax

<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ProvideEditorFactoryAttribute _
    Inherits RegistrationAttribute

Dim instance As ProvideEditorFactoryAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
[CLSCompliantAttribute(false)]
public sealed class ProvideEditorFactoryAttribute : RegistrationAttribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true, Inherited = true)]
[CLSCompliantAttribute(false)]
public ref class ProvideEditorFactoryAttribute sealed : public RegistrationAttribute
public final class ProvideEditorFactoryAttribute extends RegistrationAttribute

Remarks

Multiple editor factories can be associated with the same VSPackage.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.ProvideEditorFactoryAttribute

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.

See Also

Reference

ProvideEditorFactoryAttribute Members

Microsoft.VisualStudio.Shell Namespace