FindHandlesArrByKey

Top  Previous  Next

 

FindHandlesArrByKey (Method)

 

Finds the handles of the objects that contain a specific string in their key names

 

Syntax:

Function FindHandlesArrByKey(sKey As String, lHandles() As Integer, fFindWholeWordOnly As Boolean, fMatchCase As Boolean) As Integer

 

The FindHandlesArrByKey method syntax consists of the following:

Parameter

Data Type

Description

sKey

String

A String expression that defines the key to be found

lHandles()

Integer

An array of integers for the handles of the objects

fFindWholeWordOnly

Boolean

A Boolean expression that if it is True then the key name to be found must whole word match with the object's key name

fMatchCase

Boolean

A Boolean expression that if it is True then the key name to be found must match exactly with the object's key name

 

Return value:

Integer - Is the total number of the objects found with the specific string key name

 

Example