Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / MetricCollection Class / IndexOf Method
A metric object to find the index of

In This Topic
    IndexOf Method (MetricCollection)
    In This Topic
    Returns the zero-based index of the specified metric within the dictionary.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As IMetric _
    ) As Integer
    public int IndexOf( 
       IMetric item
    )

    Parameters

    item
    A metric object to find the index of

    Return Value

    The zero-based index of an item if found, a negative number if not found.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also