ObjectStatementCollection.Populate 方法

定義

使用陳述式擁有者或陳述式擁有者集合填入陳述式表格。

多載

Populate(ICollection)

使用陳述式擁有者的集合填入陳述式表格。

Populate(Object)

使用陳述式擁有者填入陳述式表格。

Populate(ICollection)

使用陳述式擁有者的集合填入陳述式表格。

public:
 void Populate(System::Collections::ICollection ^ statementOwners);
public void Populate (System.Collections.ICollection statementOwners);
member this.Populate : System.Collections.ICollection -> unit
Public Sub Populate (statementOwners As ICollection)

參數

statementOwners
ICollection

要加入表格的陳述式擁有者集合。

例外狀況

statementOwnernull

備註

如果您是語句內容的建立者,如果您想要使用語句數據表來儲存特定物件的值,您應該呼叫 Populate 方法。

另請參閱

適用於

Populate(Object)

使用陳述式擁有者填入陳述式表格。

public:
 void Populate(System::Object ^ owner);
public void Populate (object owner);
member this.Populate : obj -> unit
Public Sub Populate (owner As Object)

參數

owner
Object

要加入表格的陳述式擁有者。

例外狀況

ownernull

備註

如果您是語句內容的建立者,如果您想要使用語句數據表來儲存特定物件的值,您應該呼叫 Populate 方法。

另請參閱

適用於