IndentedTextWriter.CurrentIndentation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立代表新行當前縮排層級的字串。
public virtual string CurrentIndentation();
abstract member CurrentIndentation : unit -> string
override this.CurrentIndentation : unit -> string
Public Overridable Function CurrentIndentation () As String
傳回
空字串,或包含 的字串。縮排等級的指定制表字串。
備註
它不會檢查 tab 是否正在等待中,只會回傳一個字串,這會用來替換嵌入 的換行字元。