Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / MetricCollection Class / Add Method
The new Metric item to add to this collection

In This Topic
    Add Method (MetricCollection)
    In This Topic
    Add the supplied Metric item to this collection.
    Syntax
    'Declaration
     
    
    Public Sub Add( _
       ByVal item As IMetric _
    ) 
    public void Add( 
       IMetric item
    )

    Parameters

    item
    The new Metric item to add to this collection
    Remarks
    Metrics automatically add themselves when they are created, so it isn't necessary (and will produce errors) to manually add them.
    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