C-DEngine 5.105

TheThingRegistry..::..GetThingByProperty Method (String, Guid, String, String, Boolean)

Returns a TheThings matching the PropertyName/Value combination in a given Engine

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

Syntax


public static TheThing GetThingByProperty(
	string pEngineName,
	Guid pUID,
	string pPropName,
	string pPropValue,
	bool AllowRemoteEngine
)
Public Shared Function GetThingByProperty ( _
	pEngineName As String, _
	pUID As Guid, _
	pPropName As String, _
	pPropValue As String, _
	AllowRemoteEngine As Boolean _
) As TheThing
public:
static TheThing^ GetThingByProperty(
	String^ pEngineName, 
	Guid^ pUID, 
	String^ pPropName, 
	String^ pPropValue, 
	bool^ AllowRemoteEngine
)

Parameters

pEngineName
Type: String
Engine owning TheThing
pUID
Type: Guid
UserID with permission to retrieve TheThing
pPropName
Type: String
Property Name to look for
pPropValue
Type: String
Property Value to look for
AllowRemoteEngine
Type: Boolean
Includes TheThings from other nodes

Return Value