共用方式為


DefaultOptionExtensions.GetIndentSize(IEditorOptions) Method

Definition

Gets the size of an indent for the specified IEditorOptions.

public:
[System::Runtime::CompilerServices::Extension]
 static int GetIndentSize(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
 static int GetIndentSize(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static int GetIndentSize (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member GetIndentSize : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> int
<Extension()>
Public Function GetIndentSize (options As IEditorOptions) As Integer

Parameters

Returns

The number of spaces of the indent size.

Applies to