C-DEngine 5.105

TheThing..::..GetSafeProperty Method

Returns a safe value of a given property as an object. Return can be null

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

Syntax


public static Object GetSafeProperty(
	ICDEThing pThing,
	string pName
)
Public Shared Function GetSafeProperty ( _
	pThing As ICDEThing, _
	pName As String _
) As Object
public:
static Object^ GetSafeProperty(
	ICDEThing^ pThing, 
	String^ pName
)

Parameters

pThing
Type: nsCDEngine.Engines.ThingService..::..ICDEThing
TheThing to get the value of
pName
Type: String
Property Name

Return Value