method Modify | |
Syntax: | object.Modify in |
Parameters: |
in As
ITrkAttribute*pAttrib -
|
Description: | The Modify method allows the user to change the value of an attribute. Example: Dim oTrkAttributeAgent As Object Dim oTrkAttributes As Object Dim oTrkAttribute As Object Set oTrkAttributeAgent =
CreateObject("Tracker.TrkAttributeAgent") oTrkAttributeAgent.Name = "COLOR" oTrkAttributeAgent.Value = "RED" oTrkAttributeAgent.Execute oTrkAttributes If oTrkAttributes.Count = 0 Then Exit Sub Set oTrkAttribute = oTrkAttributes.Item(1) oTrkAttribute.Value = "BLUE" oTrkAttributeAgent.Modify oTrkAttribute |