Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

EditorFactory Members

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

The following tables list the members exposed by the EditorFactory type.

  Name Description
Public constructor EditorFactory Overloaded. Initializes a new instance of EditorFactory

  Name Description
Public field Static GuidVSBufferDetectLangSid Gets a GUID value in IVsUserData that, when set to false, will stop the core editor for searching for a different language service. 

  Name Description
Public property CodePagePrompt Gets and sets flags to prompt user for an encoding on an open with specified codepage. 

(see also Protected Methods )
  Name Description
Public method Close Releases all service provides and sets the package object to a null reference (Nothing in Visual Basic).  
Public method CreateEditorInstance Used by the EditorFactory class to create the Visual Studio core editor, an editor that supports data/view separation.  
Public method CreateEditorView Creates a code window with the Visual Studio core editor.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetExtensions Returns a list of file extensions registered for this editor factory.  
Public method GetHashCode  (Inherited from Object.)
Public method GetLanguageService Gets the GUID of the language service registered for this file extension under the registry key HKLM\Software\Microsoft\Visual Studio\8.0\Language Services\Extensions.  
Public method GetLanguageServiceGuid gETs the language service GUID.  
Public method GetRegisteredEditor Gets the GUID of the highest-priority editor registered for this extension. This will also pick up user-defined associations between file extensions and editors  
Public method GetRegisteredEditorInfo Gets the EditorFactory.EditorInfo for the specified extension.  
Public method GetType  (Inherited from Object.)
Public method GetUserDefinedEditor Gets the GUID of the editor that the user has defined for this file extension.  
Public method IsOurFileFormat Checks whether there is an editor that can handle this extension.  
Public method IsRegisteredExtension Determines if a file extension is registered with this editor factory.  
Public method MapLogicalView Maps a logical view to a physical view.  
Public method Static ReferenceEquals  (Inherited from Object.)
Public method SetSite Sets the service provider.  
Public method ToString  (Inherited from Object.)

  Name Description
Protected method Finalize Overridden. Destructor for the EditorFactory class.  
Protected method GetPackage Gets the Package object.  
Protected method GetSite Gets the main service provider.  
Protected method MemberwiseClone  (Inherited from Object.)

Community Additions

© 2015 Microsoft