PSDataTable.GetColumn メソッド
指定した列のみが含まれているDataRowオブジェクトを取得します。
名前空間: Microsoft.Office.Project.Server.Library
アセンブリ: Microsoft.Office.Project.Server.Library (Microsoft.Office.Project.Server.Library.dll 内)
構文
'宣言
Public Shared Function GetColumn ( _
row As DataRow, _
colName As String _
) As Object
'使用
Dim row As DataRow
Dim colName As String
Dim returnValue As Object
returnValue = PSDataTable.GetColumn(row, _
colName)
public static Object GetColumn(
DataRow row,
string colName
)
パラメーター
row
型: System.Data.DataRow指定された列を検索します。
colName
型: System.String列の名前を指定します。
戻り値
型: System.Object
指定した列のみを含むDataRowオブジェクトを返します。rowまたはcolNameのいずれかが、 null 参照 (Visual Basic のNothing )、 null 参照 (Visual Basic のNothing )が返されます。