SetObjectProperty

Sets a value for an object created by the CreateObject function.

SetObjectProperty(1, 2, 3)

OrdinalTypeDescription
1objectRequiredAPI object receiving assigned value
2stringRequiredName of property assigned
3stringRequiredValue of property assigned

The following example creates an API object named 'Subscriber' and gives it the 'EmailAddress' property with the value of an email address.

The following example creates an API object named 'Attribute', gives it a name of 'First Name', and sets the value to John.