Siebel Object Interfaces Reference > Browser Scripting >

PropertySet Methods for Browser Script


Table 65 lists a summary of the PropertySet methods' syntax.

Table 65. PropertySet Methods Syntax Summary
Method
Description
Syntax

AddChild Method

Adds subsidiary property sets to a property set.

var oPropSet;
var iIndex;
iIndex = oPropSet.AddChild(childObject);

Copy Method

Returns a copy of a property set.

var oPropSet1;
var oPropSet2;
oPropSet2 = oPropSet1.Copy();

GetChild Method

Returns a specified child property set of a property set.

var oPropSet;
var oChildPropSet;
oChildPropSet = oPropSet.GetChild(index);

GetChildCount Method

Returns the number of child property sets attached to a parent property set.

var oPropSet;
var iCount;
iCount = oPropSet.GetChildCount();

GetFirstProperty Method

Returns the name of the first property in a property set.

var oPropSet;
var sPropName;
sPropName = oPropSet.GetFirstProperty();

GetNextProperty Method

Returns the name of the next property in a property set.

var oPropSet;
var sPropName;
sPropName = oPropSet.GetNextProperty();

GetProperty Method

Returns the value of a property when given the property name.

var oPropSet;
var sValue;
sValue = oPropSet.GetProperty(propName);

GetPropertyCount Method

Returns the number of properties attached to a property set.

var oPropSet;
var iCount;
iCount = oPropSet.GetPropertyCount();

GetType Method

Returns the value stored in a type in a property set.

var oPropSet;
var type;
type = oPropSet.GetType();

GetValue Method

Returns a value stored as part of a property set.

var oPropSet;
var sValue;
sValue = oPropSet.GetValue();

InsertChildAt Method

Inserts a child property set into a parent property set at a specific location.

var oPropSet;
oPropSet.InsertChildAt(childObject, index);

PropertyExists Method

Returns a Boolean value indicating whether the property specified in the argument exists.

var oPropSet;
var bool;
bool = oPropSet.PropertyExists(propName);

RemoveChild Method

Removes a child property set as a specified index from a parent property set.

var oPropSet;
oPropSet.RemoveChild(index);

RemoveProperty Method

Removes the property specified in its argument from a property set.

var oPropSet;
oPropSet.RemoveProperty(propName);

Reset Method

Removes every property and child property set from a property set.

var oPropSet;
oPropSet.Reset();

SetProperty Method

Assigns a value to the property of a property set specified in its argument.

var oPropSet;
oPropSet.SetProperty(propName, propValue);

SetType Method

Assigns a data value to a type member of a property set.

var oPropSet;
oPropSet.SetType(value);

SetValue Method

Assigns a data value to a value member of a property set.

var oPropSet;
oPropSet.SetValue(value);

Siebel Object Interfaces Reference