AddProperty method

         

Add a new property to this Element

Return Type

A Property object. A handle to the new Property object

Syntax

object.AddProperty (Name, Value)

The AddProperty method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type Element.
NameRequired. A String value.
ValueRequired. A String value.