C-DEngine 5.105

TheThing..::..GetSafePropertyDate Method

Returns a (null) safe value of a given property as DateTimeOffset

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

Syntax


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

Parameters

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

Return Value