Xml.XMLDoc.TXMLDocument.NodeIndentStr

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property NodeIndentStr: DOMString read GetNodeIndentStr write SetNodeIndentStr stored NodeIndentStored;

C++

__property System::UnicodeString NodeIndentStr = {read=GetNodeIndentStr, write=SetNodeIndentStr, stored=NodeIndentStored};

プロパティ

種類 可視性 ソース ユニット
property published
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLDocument

説明

書式付き XML テキストのネストされたノードの前に挿入される文字列を示します。

NodeIndentStr プロパティを使用すると,追加されるノードを TXMLDocument が書式設定する方法をカスタマイズできます。Options プロパティに doNodeAutoIndent が含まれている場合,この文字列は生成された XML で新しく追加されるノードの前に挿入されます。文字列は,ネストレベルごとに 1 回挿入されます。

NodeIndentStr プロパティに値を割り当てなかった場合,TXMLDocument は,各ネストレベルを表すために 2 つのスペースを挿入します。

関連項目

コード サンプル