DataRowCollection.Clear メソッド
アセンブリ: System.Data (system.data.dll 内)



すべての項目の DataRowCollection を消去する例を次に示します。
Private Sub AddRow(ByVal table As DataTable) ' Create an array with three elements. Dim rowVals(2) As Object Dim rowCollection As DataRowCollection = table.Rows rowVals(0) = "hello" rowVals(1) = "world" rowVals(2) = "two" ' Add and return the new row. Dim row As DataRow = rowCollection.Add(rowVals) End Sub

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDataRowCollection.Clear メソッドを検索する場合は、下記のリンクをクリックしてください。

- DataRowCollection.Clear メソッドのページへのリンク