Cicode Programming Reference > Cicode Function Categories > .Net Functions > DllClassSetProperty

DllClassSetProperty

Use this function to set a property of the .Net object. The property may be of any type or an object itself.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

INT DllClassSetProperty(OBJECT object, STRING sProperty, VARIANT Value)

object:

.Net object.

sProperty

The name of the property of the .Net object.

Value

The value to which the property of the .Net object will be set to.

Return Value

0 (zero) if successful, otherwise an error code is returned.

Related Functions

DllClassDispose, DllClassIsValid, DllClassCallMethod, DllClassCreate, DllClassGetProperty

Example

See DllClassCreate

See Also

ActiveX Functions

Published June 2018