Creates a
hierarchical connector-property object.
Syntax
public CWProperty();
public CWProperty(String propName, String simplePropValue);
public CWProperty(String propName, CWProperty[] hierPropValues);
Parameters
- propName
- Specifies the name of the connector configuration property.
- simplePropValue
- Is a String value with which to initialize a simple connector
property.
- hierPropValues
- Is an array of connector-property (CWProperty) objects with
which to initialize a hierarchical connector property.
Return values
A CWProperty object containing the newly created hierarchical
connector property.
Notes
The CWProperty() constructor provides the following forms:
- The first form creates an empty connector-property object. You can
use other methods of the CWProperty class to populate this
object.
- The second form creates a connector-property object for a simple connector
property, with a property name and a string value that you specify.
- The third form creates a connector-property object for a hierarchical
connector property, with a property name and array of hierarchical properties
that you specify.
