method DeleteAttribute | |
Syntax: | object.DeleteAttribute bName |
Parameters: |
bName As
String -
Attribute Name |
Description: | The DeleteAttribute method allows the user to delete an attribute on the item. Example: Dim oTrkItem As Object Dim vTrkItem As Variant Set oTrkItem = CreateObject("Tracker.TrkNewItem") oTrkItem.ItemId = "T123" oTrkItem.ProjectId = "PA1" oTrkItem.RegionID = "A_TP1" oTrkItem.ItemTypeId = "ITEMTYPE1" oTrkItem.RegionLoc = -1 lRetValue = oTrkItem.CreateAttribute ("COLOR", "RED",
1) oTrkItem.DeleteAttribute "COLOR" oTrkItem.InsertItem vTrkItem |