ITrkNewItem.AttributeCount (method)

method AttributeCount
Syntax: Long = object.AttributeCount ( )
Description:
The AttributeCount method allows the user to get a count of the attributes 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
Count = oTrkItem.AttributeCount
oTrkItem.InsertItem vTrkItem