Click or drag to resize

dataTableShemaExtensionsAdd Method (DataTable, Enum, String, String, Type, dataPointImportance, String, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

Namespace:  imbSCI.DataComplex.extensions.data.schema
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static DataColumn Add(
	this DataTable table,
	Enum columnEnum,
	string description = "",
	string letterCode = "",
	Type valueType = null,
	dataPointImportance importance = dataPointImportance.normal,
	string format = "",
	string displayName = ""
)
Request Example View Source

Parameters

table
Type: System.DataDataTable
columnEnum
Type: SystemEnum
description (Optional)
Type: SystemString
letterCode (Optional)
Type: SystemString
valueType (Optional)
Type: SystemType
importance (Optional)
Type: imbSCI.Core.enumsdataPointImportance
format (Optional)
Type: SystemString
displayName (Optional)
Type: SystemString

Return Value

Type: DataColumn

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 Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also