Click or drag to resize

dataTableRenderingSetupGetTitle Method (DataTable, String, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the title defined under templateFieldDataTable or TableName if no title entry was found inside the ExtendedProperties

Namespace:  imbSCI.Core.extensions.table
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string GetTitle(
	this DataTable table,
	string titleIfNotDefined = "Untitled",
	bool permanent = false
)
Request Example View Source

Parameters

table
Type: System.DataDataTable
The table.
titleIfNotDefined (Optional)
Type: SystemString
permanent (Optional)
Type: SystemBoolean

Return Value

Type: String

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