SetObjectProperty

Overview

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

Syntax

SetObjectProperty(1, 2, 3)

Function Properties

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

Usage

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.