IEditorOptionsFactoryService Interface

Represents a service that gets IEditorOptions for a specified scope or for the global scope.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public interface IEditorOptionsFactoryService

The IEditorOptionsFactoryService type exposes the following members.

  NameDescription
Public propertyGlobalOptionsGets the global IEditorOptions.
Top

  NameDescription
Public methodCreateOptionsCreates a new instance of IEditorOptions that is not bound to any particular scope.
Public methodGetOptionsGets the IEditorOptions for the IPropertyOwner. Buffers and views are property owners. Creates new options for the scope if none have previously been created.
Top

This is a MEF component part, and should be imported as follows:

[Import] IEditorOptionsFactoryService factory = null;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft