Share via


EditorFactory Class

This class provides a default editor factory implementation that hosts the Visual Studio core editor.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public Class EditorFactory _
    Implements IVsEditorFactory
'Usage
Dim instance As EditorFactory
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public class EditorFactory : IVsEditorFactory
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class EditorFactory : IVsEditorFactory
public class EditorFactory implements IVsEditorFactory

Remarks

Inherit from this class and add a [ComVisible] and [GuidAttribute] and then specify the EditorFactoryGuid, EditorFactoryGuid and EditorName variables in your Registration class.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Package.EditorFactory

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

EditorFactory Members

Microsoft.VisualStudio.Package Namespace

ProvideEditorFactoryAttribute