PSUtility.HasColumn Method
Reserved for internal use.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function HasColumn ( _
table As DataTable, _
columnName As String _
) As Boolean
'Usage
Dim table As DataTable
Dim columnName As String
Dim returnValue As Boolean
returnValue = table.HasColumn(columnName)
public static bool HasColumn(
this DataTable table,
string columnName
)
Parameters
- table
Type: System.Data.DataTable
- columnName
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type DataTable. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=office.14) or https://msdn.microsoft.com/en-us/library/bb383977(v=office.14).