Condividi tramite


PSDataTable.GetColumn Method

Gets a DataRow object that contains only the specified column.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Shared Function GetColumn ( _
    row As DataRow, _
    colName As String _
) As Object
'Usage
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
)

Parameters

Return Value

Type: System.Object
A DataRow object that contains only the specified column. If either row or colName are a null reference (Nothing in Visual Basic), it returns a null reference (Nothing in Visual Basic).

See Also

Reference

PSDataTable Class

PSDataTable Members

Microsoft.Office.Project.Server.Library Namespace