AddChild
新しい DataRow を指定された親子関係に追加します。 指定された関係が存在する場合、与えられた DataRow は既存の DataRow コレクションに追加されます。 存在しない場合、与えられた DataRow を唯一の要素として新しいコレクションが作成されます。
構文
Sub addChild( childName As String, childDataRow As DataRow)
パラメータ
- 親子関係の名前 ("Flood Plain Data"、"References"、"Used By" など)。
- 関係に追加する DataRow。
結果
なし
例
Dim dataRow As New G1CLIENTLib.dataRow
Dim childDataRow As New G1CLIENTLib.dataRow
childDataRow .setByName "Address", "100 Congress"
childDataRow .setByName "City", "Austin"
dataRow.addChild "child1", dataRow