Table 35. Property Set Methods Syntax Summary
|
|
|
AddChild Method |
Adds subsidiary property sets to a property set. |
Dim oPropSet as SiebelPropertyset oPropSet.AddChild(childObject as SiebelPropertySet)
|
Copy Method |
Returns a copy of a property set. |
Dim oPropSet1 as SiebelPropertyset Dim oPropSet2 as SiebelPropertyset set oPropSet2 = oPropSet1.Copy
|
GetChild Method |
Returns a specified child property set of a property set. |
Dim oPropSet as SiebelPropertySet Dim childPropSet as SiebelPropertySet set childPropSet = oPropSet.GetChild(index as Long)
|
GetChildCount Method |
Returns the number of child property sets attached to a parent property set. |
Dim oPropSet as SiebelPropertySet Dim iCount as Long iCount = oPropSet.GetChildCount
|
GetFirstProperty Method |
Returns the name of the first property in a property set. |
Dim oPropSet as SiebelPropertySet Dim sPropName as String sPropName = oPropSet.GetFirstProperty
|
GetLastErrCode Method |
Returns the last Siebel error number. |
Dim oPropSet as SiebelPropertySet Dim iErr as Integer iErr = oPropSet.GetLastErrCode
|
GetLastErrText Method |
Returns the last error text message. |
Dim oPropSet as SiebelPropertySet Dim sValue as String sValue = oPropSet.GetLastErrText
|
GetNextProperty Method |
Returns the name of the next property in a property set. |
Dim oPropSet as SiebelPropertySet Dim sPropName as String sPropName = oPropSet.GetNextProperty
|
GetProperty Method |
Returns the value of a property when given the property name. |
Dim oPropSet as SiebelPropertySet Dim sPropVal as String sPropVal = oPropSet.GetProperty(propName as String)
|
GetPropertyCount Method |
Returns the number of properties contained within the property set. |
Dim oPropSet as SiebelPropertySet Dim lCount as Long lCount = oPropSet.GetPropertyCount
|
GetType Method |
Retrieves the data value stored in the type attribute of a property set. |
Dim oPropSet as SiebelPropertySet Dim sTypeVal as String sTypeVal = oPropSet.GetType
|
GetValue Method |
Retrieves the data value stored in the value attribute of a property set. |
Dim oPropSet as SiebelPropertySet Dim sValVal as String sValVal = oPropSet.GetValue
|
InsertChildAt Method |
Inserts a child property set into a parent property set at a specific location. |
Dim oPropSet as SiebelPropertySet oPropSet.InsertChildAt(childObject as SiebelPropertySet, index as Long)
|
PropertyExists Method |
Returns a Boolean value indicating whether the property specified in the argument exists. |
Dim oPropSet as SiebelPropertySet Dim bool as Boolean bool = oPropSet.PropertyExists(propName as String)
|
RemoveChild Method |
Removes a child property set as a specified index from a parent property set. |
Dim oPropSet as SiebelPropertySet oPropSet.RemoveChild(index as Long)
|
RemoveProperty Method |
Removes the property specified in its argument from a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.RemoveProperty(propName as String)
|
Reset Method |
Removes every property and child property set from a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.Reset
|
SetProperty Method |
Assigns a value to the property of a property set specified in its argument. |
Dim oPropSet as SiebelPropertySet oPropSet.SetProperty(propName as String, propValue as String)
|
SetType Method |
Assigns a data value to a type member of a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.SetType(value as String)
|
SetValue Method |
Assigns a data value to a value member of a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.SetValue(value as String)
|