InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / IHotSpots Interface / Contains Method
The hotspot text
Whether to look for hotspots with the specified text, regardless of case


In This Topic
    Contains Method (IHotSpots)
    In This Topic
    Gets a value indicating whether there is a hotspot with the specified text in the current hotspot map.
    Syntax
    'Declaration
     
    
    Function Contains( _
       ByVal hotspotText As String, _
       ByVal caseSensitive As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As IHotSpots
    Dim hotspotText As String
    Dim caseSensitive As Boolean
    Dim value As Boolean
     
    value = instance.Contains(hotspotText, caseSensitive)

    Parameters

    hotspotText
    The hotspot text
    caseSensitive
    Whether to look for hotspots with the specified text, regardless of case

    Return Value

    True if there is a hotspot with the specified text in the current hotspot map, false if not
    See Also