IndentedTextWriter.CurrentIndentation Method ()

 

Builds a string representing the current indentation level for a new line.

Namespace:   System.Data.Entity.Migrations.Utilities
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual string CurrentIndentation()

Return Value

Type: System.String

An empty string, or a string that contains .Indent level's worth of specified tab-string.

Does NOT check if tabs are currently pending, just returns a string that would be useful in replacing embedded NewLine.