cdeP..::..SetProperty Method (String, Object, ePropertyTypes)
Sets a property
If the property does not exist, it will be created
All Events (Change and Set) will be fired - even if the property has not changed
The Property Type will be set as well
Namespace:
nsCDEngine.Engines.ThingServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public cdeP SetProperty( string pName, Object pValue, ePropertyTypes pType )
Public Function SetProperty ( _ pName As String, _ pValue As Object, _ pType As ePropertyTypes _ ) As cdeP
public: cdeP^ SetProperty( String^ pName, Object^ pValue, ePropertyTypes^ pType )
Parameters
- pName
- Type: String
Property Name
- pValue
- Type: Object
Value to be set
- pType
- Type: nsCDEngine.Engines.ThingService..::..ePropertyTypes
The Type of the Property