EnumMembersWithAttribValue

Enumerates the attribute IDs and corresponding labels for a given attribute. For example, a user can enumerate all of the entities with ATTRIB_ENTITY_IS_ICP = true.

Syntax

<HsvTreeInfo>.EnumMembersWithAttribValue attribId, varAttribValue, flags, pvaralIDs, pvarabstrLabels
ArgumentDescription
attribIdInteger (ByVal). Attribute ID of member.
varAttribValue

Variant (ByVal). The raw value of the attribute. To obtain an attribute’s raw value, use GetApplicationAttribute.

flagsLong (ByVal). Used to refine the search. Example:

ATTRFILTER_FLAG_INCLUDE_SYS_MEMBERS- returns members that include system members If 0 is passed, system members will not be returned although they match the searched value varAttribValue.

ATTRFILTER_FLAG_CASE_SENSITIVE- performs case-sensitive search of varAttributeValue.

pvaralIDsVariant array. Returns the array of the member IDs. The array is returned as a Long subtype.
pvarabstrLabelsVariant array. Returns an array of member labels. The array is returned as a String subtype