method IsAttribute | |
Syntax: | VARIANT_BOOL*pExists = object.IsAttribute ( sAttribName ) |
Parameters: |
sAttribName
As String -
Attribute Name |
Description: | The IsAttribute method returns TRUE if the given attribute exists on the given item. Otherwise it returns FALSE. 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) msgbox oTrkItem.IsAttribute("COLOR") |