C-DEngine 5.105

TheThing..::..MemberSetSafePropertyNumber Method

The MemberSet/Get functions are identical to the SetSafeProperty/GetSafeProperty functions, except that they get the property name from the calling member. They are used typically in the get{}/set{} methods of .Net Property declarations, for example:
C#
public bool MyProperty
{
  get { return MemberGetSafePropertyBool(MyBaseThing); }
}
In this example, the cdeP property name will be "MyProperty".

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

Syntax


public static cdeP MemberSetSafePropertyNumber(
	ICDEThing pThing,
	double pValue,
	bool UpdateThing,
	string pName
)
Public Shared Function MemberSetSafePropertyNumber ( _
	pThing As ICDEThing, _
	pValue As Double, _
	UpdateThing As Boolean, _
	pName As String _
) As cdeP
public:
static cdeP^ MemberSetSafePropertyNumber(
	ICDEThing^ pThing, 
	double^ pValue, 
	bool^ UpdateThing, 
	String^ pName
)

Parameters

pThing
Type: nsCDEngine.Engines.ThingService..::..ICDEThing
pValue
Type: Double
UpdateThing
Type: Boolean
pName
Type: String

Return Value