C-DEngine 5.105

TheNMIEngine..::..AddConnectivityBlock Method (TheThing, TheFormInfo, Int32, Action<(Of <(<'TheProcessMessage, Boolean>)>)>, Boolean, Int32, String, String)

This adds the default Connectivity Block to the NMI Form. A connectivity block consists of AutoConnect, Is Connected, Address Field, Connect/Disconnect Buttons

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

Syntax


public static cdeConcurrentDictionary<string, TheFieldInfo> AddConnectivityBlock(
	TheThing pBaseThing,
	TheFormInfo pTargetForm,
	int pBaseFldNumber,
	Action<TheProcessMessage, bool> eventConnect,
	bool IncludeUIDPWD,
	int pAcl,
	string pConnectedProp,
	string pAutoConnect
)
Public Shared Function AddConnectivityBlock ( _
	pBaseThing As TheThing, _
	pTargetForm As TheFormInfo, _
	pBaseFldNumber As Integer, _
	eventConnect As Action(Of TheProcessMessage, Boolean), _
	IncludeUIDPWD As Boolean, _
	pAcl As Integer, _
	pConnectedProp As String, _
	pAutoConnect As String _
) As cdeConcurrentDictionary(Of String, TheFieldInfo)
public:
static cdeConcurrentDictionary<String^, TheFieldInfo^>^ AddConnectivityBlock(
	TheThing^ pBaseThing, 
	TheFormInfo^ pTargetForm, 
	int^ pBaseFldNumber, 
	Action<TheProcessMessage^, bool^>^ eventConnect, 
	bool^ IncludeUIDPWD, 
	int^ pAcl, 
	String^ pConnectedProp, 
	String^ pAutoConnect
)

Parameters

pBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
pTargetForm
Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
pBaseFldNumber
Type: Int32
eventConnect
Type: Action<(Of <(<'TheProcessMessage, Boolean>)>)>
IncludeUIDPWD
Type: Boolean
pAcl
Type: Int32
pConnectedProp
Type: String
pAutoConnect
Type: String

Return Value