C-DEngine 5.105

cdeP..::..GetProperty Method (String, Boolean)

Returns a property of a given Name. If the property does not exist the method returns NULL

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

Syntax


public cdeP GetProperty(
	string pName,
	bool DoCreate
)
Public Function GetProperty ( _
	pName As String, _
	DoCreate As Boolean _
) As cdeP
public:
cdeP^ GetProperty(
	String^ pName, 
	bool^ DoCreate
)

Parameters

pName
Type: String
Name of the property
DoCreate
Type: Boolean
if true, the property will be created if it did not exist

Return Value