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