次の方法で共有


DefaultOptions Class

Common editor default options.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.DefaultOptions

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

Syntax

'宣言
Public NotInheritable Class DefaultOptions
public static class DefaultOptions
public ref class DefaultOptions abstract sealed
[<AbstractClass>]
[<Sealed>]
type DefaultOptions =  class end
public final class DefaultOptions

The DefaultOptions type exposes the following members.

Fields

  Name Description
Public fieldStatic member ConvertTabsToSpacesOptionId Determines whether to convert tabs to spaces.
Public fieldStatic member IndentSizeOptionId Determines the size of an indentation.
Public fieldStatic member NewLineCharacterOptionId Determines the newline character or characters.
Public fieldStatic member ReplicateNewLineCharacterOptionId Determines whether to duplicate the new line character already present when inserting a new line.
Public fieldStatic member TabSizeOptionId Determines size of a tab.

Top

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

Microsoft.VisualStudio.Text.Editor Namespace