Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / EventMetricValueDefinitionCollection Class / Contains Method
The event metric value definition object to look for

In This Topic
    Contains Method (EventMetricValueDefinitionCollection)
    In This Topic
    Indicates whether the collection already contains the specified definition object
    Syntax
    'Declaration
     
    
    Public Function Contains( _
       ByVal item As IEventMetricValueDefinition _
    ) As Boolean

    Parameters

    item
    The event metric value definition object to look for

    Return Value

    True if the object already exists in the collection, false otherwise
    Remarks
    Even if the object doesn't exist in the collection, if another object with the same key exists then an exception will be thrown if the supplied object is added to the collection. See Add for more information.
    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