Find Method (AttributeSets collection)

                    

 

This method is used to find attribute set collections (represented as PointAttributes collections) that contain all or some of a passed list of attribute names. The method returns a NamedValues collection containing the names of the attribute set collections that meet the passed criteria.

 

Not Implemented

 

Syntax

object.Find nvAttributesNames, ContainsConstants

The Find method syntax has these parts:

Part

Description

object

An object expression that evaluates to an AttributeSets object.

nvAttributesNames

A NamedValues collection containing the attribute names desired.

ContainsConstants

A constant from the ContainsConstants enumeration indicating what type of search to perform. See Settings below.

 

Settings

The settings for ContainsType are:

Error

Description

cntnsAll

Returned attribute set collections must contain all of the passed attributes.

cntnsSome

Returned attribute set collections need only contain 1 or more of the passed attributes.

cntnsOnly

Returned attribute set collections must contain only attributes from the passed list.

 

Remarks

If successful this method returns a NamedValues collection of attribute set names. If no matching collections are found the returned collection will have a count of 0.

 

Enabling Operational Intelligence