ITrkItem.Delete (method)

method Delete Attribute
Syntax: object.Delete index
Parameters:
index As VARIANT -

Attribute Name
Description:
The Delete method allows the user to delete the item's EXTENDED attributes.

Example:

Dim oTrkItemAgent As Object
Dim oTrkItems As Object
Dim oTrkItem As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
oTrkItemAgent.Execute oTrkItems
Set oTrkItem = oTrkItems.Item(1)
oTrkItem.Delete "COLOR"
oTrkItem.CommitChanges