IndentedTextWriter.CurrentIndentation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建置字串,代表新行的目前縮排層級。
public virtual string CurrentIndentation ();
abstract member CurrentIndentation : unit -> string
override this.CurrentIndentation : unit -> string
Public Overridable Function CurrentIndentation () As String
傳回
空字串,或包含 的字串。縮排層級的指定索引標籤字串。
備註
不會檢查索引標籤目前是否擱置中,只會傳回字串,以取代內嵌 分行符號很有用。