C-DEngine 5.105

TheNMIEngine..::..AddCommonTableColumns Method

Adds the common table columns to a table: "Details (if not disabled), FriendlyName, StatusLevel,DeviceType (if set), Address (if not disabled), Delete Button" Only tables based on TheThings are supported

Namespace:  nsCDEngine.Engines.NMIService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static cdeConcurrentDictionary<string, TheFieldInfo> AddCommonTableColumns(
	TheThing MyBaseThing,
	TheFormInfo pTargetForm,
	string pDeviceTypeOptions,
	string pDeviceTypeDefault,
	bool AddAddress,
	bool AddDetailsButton,
	int pFldOrder,
	int pFlags,
	int pACL
)
Public Shared Function AddCommonTableColumns ( _
	MyBaseThing As TheThing, _
	pTargetForm As TheFormInfo, _
	pDeviceTypeOptions As String, _
	pDeviceTypeDefault As String, _
	AddAddress As Boolean, _
	AddDetailsButton As Boolean, _
	pFldOrder As Integer, _
	pFlags As Integer, _
	pACL As Integer _
) As cdeConcurrentDictionary(Of String, TheFieldInfo)
public:
static cdeConcurrentDictionary<String^, TheFieldInfo^>^ AddCommonTableColumns(
	TheThing^ MyBaseThing, 
	TheFormInfo^ pTargetForm, 
	String^ pDeviceTypeOptions, 
	String^ pDeviceTypeDefault, 
	bool^ AddAddress, 
	bool^ AddDetailsButton, 
	int^ pFldOrder, 
	int^ pFlags, 
	int^ pACL
)

Parameters

MyBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
pTargetForm
Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
pDeviceTypeOptions
Type: String
pDeviceTypeDefault
Type: String
AddAddress
Type: Boolean
If False, Address column will not be included
AddDetailsButton
Type: Boolean
If False, a Details button will not be included
pFldOrder
Type: Int32
pFlags
Type: Int32
pACL
Type: Int32

Return Value