Siebel Object Interfaces Reference > Siebel VB Quick Reference > Object Interfaces Reference >

Property Set Methods for Siebel VB


Table 124 describes a summary of the property set methods you can use with Siebel VB.

Table 124. Summary of Property Set Methods for Siebel VB
Method
Description
Format

AddChild Method for a Property Set

Adds a child property set to a property set.

Dim oPropSet as PropertySet
oPropSet.AddChild childObject as PropertySet

Copy Method for a Property Set

Returns a copy of a property set.

Dim oPropSet1 as PropertySet
Dim oPropSet2 as PropertySet
set oPropSet2 = oPropSet1.Copy

GetChild Method for a Property Set

Returns a child property set of a property set.

Dim oPropSet as PropertySet
Dim childPropSet as SiebelPropertySet
set childPropSet = oPropSet.GetChild(index as Long)

GetChildCount Method for a Property Set

Returns the number of child property sets that exist for a parent property set.

Dim oPropSet as PropertySet
Dim iCount as Integer
iCount = oPropSet.GetChildCount

GetFirstProperty Method for a Property Set

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

Dim oPropSet as PropertySet
Dim sPropName as String
sPropName = oPropSet.GetFirstProperty

GetNextProperty Method for a Property Set

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

Dim oPropSet as PropertySet
Dim sPropName as String
sPropName = oPropSet.GetNextProperty

GetProperty Method for a Property Set

Returns the value of a property.

Dim oPropSet as PropertySet
Dim sPropVal as String
sPropVal = oPropSet.GetProperty(propName as String)

GetPropertyCount Method for a Property Set

Returns the number of properties that exist in the current level in the hierarchy.

Dim oPropSet as PropertySet
Dim count as Long
count = oPropSet.GetPropertyCount

GetType Method for a Property Set

Returns the value of the type attribute of a property set.

Dim oPropSet as PropertySet
Dim sTypeVal as String
sTypeVal = oPropSet.GetType

GetValue Method for a Property Set

Returns the value stored in the value attribute of a property set.

Dim oPropSet as PropertySet
Dim sValVal as String
sValVal = oPropSet.GetValue

InsertChildAt Method for a Property Set

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

Dim oPropSet as PropertySet
oPropSet.InsertChildAt childObject as SiebelPropertySet, index 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 PropertySet
oPropSet.PropertyExists(propName as String)

RemoveChild Method for a Property Set

Removes a child property set from a parent property set.

Dim oPropSet as PropertySet
oPropSet.RemoveChild index as Integer

RemoveProperty Method for a Property Set

Removes a property from a property set.

Dim oPropSet as PropertySet
oPropSet.RemoveProperty propName as String

Reset Method for a Property Set

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

Dim oPropSet as PropertySet
oPropSet.Reset

SetProperty Method for a Property Set

Sets a value in the property of a property set.

Dim oPropSet as PropertySet
oPropSet.SetProperty propName as String, propValue as String

SetType Method for a Property Set

Sets a data value for the type attribute of a property set.

Dim oPropSet as PropertySet
oPropSet.SetType value as String

SetValue Method for a Property Set

Sets a data value for the value attribute of a property set.

Dim oPropSet as PropertySet
oPropSet.SetValue value as String

Siebel Object Interfaces Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.