Click or drag to resize

PropertyDataStructureToolsbuildComparativeDataTable Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Builds vertical data table - aka: comparative table

Namespace:  imbSCI.DataComplex.extensions.data
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static DataTable buildComparativeDataTable(
	this IEnumerable<PropertyCollectionExtended> items,
	string itemNameProperty,
	string name,
	string description,
	PropertyEntryDictionary columns = null
)
Request Example View Source

Parameters

items
Type: System.Collections.GenericIEnumerablePropertyCollectionExtended
The items.
itemNameProperty
Type: SystemString
name
Type: SystemString
The name.
description
Type: SystemString
The description.
columns (Optional)
Type: imbSCI.Core.collectionPropertyEntryDictionary
The columns.

Return Value

Type: DataTable

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerablePropertyCollectionExtended. 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