Table 136. Summary of Property Set Methods for COM Data Server
|
|
|
AddChild Method for a Property Set |
Adds child property sets to a property set. |
Dim oPropSet as SiebelPropertySet Dim iIndex as Integer iIndex = oPropSet.AddChild( childObject as Property Set, errCode as Integer)
|
Copy Method for a Property Set |
Returns a copy of a property set. |
Dim oPropSet1 as SiebelPropertySet Dim oPropSet2 as SiebelPropertySet oPropSet2 = oPropSet1.Copy(ErrCode as Integer)
|
GetChild Method for a Property Set |
Returns a child property set of a property set. |
Dim oPropSet as SiebelPropertySet Dim oChildPropSet as SiebelPropertySet oChildPropSet = oPropSet.GetChild( index as Integer, ErrCode as Integer)
|
GetChildCount Method for a Property Set |
Returns the number of child property sets that exist for a parent property set. |
Dim oPropSet as SiebelPropertySet Dim iCount as Integer iCount = oPropSet.GetChildCount(ErrCode as Integer)
|
GetFirstProperty Method for a Property Set |
Returns the name of the first property in a property set. |
Dim oPropSet as SiebelPropertySet Dim sPropName as String sPropName = oPropSet.GetFirstProperty(ErrCode as Integer)
|
GetNextProperty Method for a Property Set |
Returns the name of the next property in a property set. |
Dim oPropSet as SiebelPropertySet Dim sPropName as String sPropName = oPropSet.GetNextProperty(ErrCode as Integer)
|
GetProperty Method for a Property Set |
Returns the value of a property. |
Dim oPropSet as SiebelPropertySet Dim sPropVal as String sPropVal = oPropSet.GetProperty(propName as String, ErrCode as Integer)
|
GetPropertyCount Method for a Property Set |
Returns the number of properties that exist in the current level in the hierarchy. |
Dim oPropSet as SiebelPropertySet Dim propCount as Integer propCount = oPropSet.GetPropertyCount (ErrCode as Integer)
|
GetType Method for a Property Set |
Returns the value of the type attribute of a property set. |
Dim oPropSet as SiebelPropertySet Dim sTypeVal as String sTypeVal = oPropSet.GetType(value as String)
|
GetValue Method for a Property Set |
Returns the value of the value attribute of a property set. |
Dim oPropSet as SiebelPropertySet Dim sValVal as String sValVal = oPropSet.GetValue(ErrCode as Integer)
|
InsertChildAt Method for a Property Set |
Inserts a child property set in a parent property set at a specific location. |
Dim oPropSet as SiebelPropertySet oPropSet.InsertChildAt(childObject as String, index as Integer, ErrCode as Integer)
|
PropertyExists Method for a Property Set |
Returns a Boolean value that indicates if the property that the argument identifies exists. |
Dim oPropSet as SiebelPropertySet Dim propExists as Boolean propExists = oPropSet.PropertyExists( propName as String, ErrCode as Integer)
|
RemoveChild Method for a Property Set |
Removes a child property set from a parent property set. |
Dim oPropSet as SiebelPropertySet oPropSet.RemoveChild(index as Integer, errCode as Integer)
|
RemoveProperty Method for a Property Set |
Removes a property from a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.RemoveProperty(propName as String, ErrCode as Integer)
|
Reset Method for a Property Set |
Removes every property and child property set from a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.Reset(ErrCode as Integer)
|
SetProperty Method for a Property Set |
Sets a value in the property of a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.SetProperty(propName as String, propValue as String, ErrCode as Integer)
|
SetType Method for a Property Set |
Sets the value for the type attribute of a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.SetType(value as String, ErrCode as Integer)
|
SetValue Method for a Property Set |
Sets the value for the value attribute of a property set. |
Dim oPropSet as SiebelPropertySet oPropSet.SetValue(value as String, errCode as Integer)
|