C-DEngine 5.105

TheThingRegistry..::..PropertyMapper Method

Direcly connects two properties of two things together Use "UnmapProperty" to remove an existing connection

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

Syntax


public static Guid PropertyMapper(
	Guid pSourceThing,
	string pSourcePropertyName,
	Guid pTargetThing,
	string pTargetPropertyName,
	bool pIsBiDirectional
)
Public Shared Function PropertyMapper ( _
	pSourceThing As Guid, _
	pSourcePropertyName As String, _
	pTargetThing As Guid, _
	pTargetPropertyName As String, _
	pIsBiDirectional As Boolean _
) As Guid
public:
static Guid^ PropertyMapper(
	Guid^ pSourceThing, 
	String^ pSourcePropertyName, 
	Guid^ pTargetThing, 
	String^ pTargetPropertyName, 
	bool^ pIsBiDirectional
)

Parameters

pSourceThing
Type: Guid
cdeMID of the Thing with the source property
pSourcePropertyName
Type: String
Name of the Source Property
pTargetThing
Type: Guid
cdeMID of the Target Thing
pTargetPropertyName
Type: String
Naqme of the Target property
pIsBiDirectional
Type: Boolean
If set to true, changes on both sides are replicated to the other side

Return Value