Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Property Set Methods > Copy MethodThis method returns a copy of a property set. SyntaxReturnsA copy of the property set indicated by oPropSet UsageThis method creates a copy of a property set, including any properties and children it may have. Because property sets are generally passed by reference, making a copy allows the method to manipulate the property set without affecting the original definition. Used WithBrowser Script, COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script, Web Client Automation Server ExampleThis Siebel VB example uses a copy of a property set to store the original values of its properties, and displays both the original and Pig-Latin forms of the properties. (general) (declarations) Function PigLatin (Name1 As String) As String Dim Inputs As PropertySet, Outputs As PropertySet Inputs.SetProperty "Name", "Harold" propName = Outputs.GetFirstProperty() |
Siebel Object Interfaces Reference |