Condividi tramite


ProvideEditorFactoryAttribute Class

This attribute declares that the VSPackage provides an editor factory.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Dichiarazione
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True, Inherited := True)> _
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ProvideEditorFactoryAttribute _
    Inherits RegistrationAttribute
'Utilizzo
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
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, Inherited = true)>]
[<CLSCompliantAttribute(false)>]
type ProvideEditorFactoryAttribute =  
    class
        inherit RegistrationAttribute
    end
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