IndentedTextWriter.CurrentIndentation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds a string representing the current indentation level for a new line.
public virtual string CurrentIndentation ();
abstract member CurrentIndentation : unit -> string
override this.CurrentIndentation : unit -> string
Public Overridable Function CurrentIndentation () As String
Returns
An empty string, or a string that contains .Indent level's worth of specified tab-string.
Remarks
Does NOT check if tabs are currently pending, just returns a string that would be useful in replacing embedded newline characters.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework