|
説明 |
アイテムを自身の子の最後に追加します。 |
||||
|
呼出形式 |
item.Append( title ) または item.Append( xmlDoc ) |
||||
|
戻り値 |
STreeItemオブジェクト 引数に文字列を渡した場合、追加されたアイテムのアクセッサを返します。 引数にXMLDocumentオブジェクトを渡した場合、追加されたアイテムのうち最初のオブジェクトを返します。 |
||||
|
引数 |
|
||||
|
例外 |
|
||||
|
使用例 |
var parent = STree1.RootItem;var item_1 = parent.Append("abc");var item_2_1 = parent.Append("def").Append("ghi");var xmlDomImpl = new XmlDomImplementation;var xmlStr = "<xml1> "+ " <item title=\"def\" openicon=\"1\"/>" + " <item title=\"ghi\" closeicon=\"2\">"+ " <item title=\"hij\" closeicon=\"3\" openicon=\"4\" value=\"111\">" + " <item title=\"AAA\"/>" + " <item title=\"BBB\"/>" + " <item title=\"CCC\"/>" + " </item>" + " <item title=\"klm\"/>" + " </item>" + "</xml1>";var xmlDoc = XmlDomImpl.Parse(xmlStr);var item_def = parent.Append(xmlDoc);
|
||||
|
関連項目 |