Loupe - Log - Monitor - Resolve
Loupe.Extensibility.Data Namespace / IEventMetricValueDefinitionCollection Interface / IndexOf Method
The value name to locate in the collection

In This Topic
    IndexOf Method (IEventMetricValueDefinitionCollection)
    In This Topic
    Retrieve the index of a metric value definition by its name
    Syntax
    'Declaration
     
    
    Function IndexOf( _
       ByVal name As String _
    ) As Integer
    int IndexOf( 
       string name
    )

    Parameters

    name
    The value name to locate in the collection
    Exceptions
    ExceptionDescription
    Thrown if no value exists with the provided name.
    Remarks
    Items are identified using ordinal, case insensitive string comparisons. If no value exists with the provided name an exception will be thrown.
    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