Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterMetricSample Class / Implicit Type Conversion Operator

In This Topic
    Implicit Type Conversion Operator
    In This Topic
    Implicitly convert our metric sample to a windows counter sample.
    Syntax
    'Declaration
     
    
    Public Operator Widening CType( _
       ByVal sample As PerfCounterMetricSample _
    ) As CounterSample
    public CounterSample operator implicit( 
       PerfCounterMetricSample sample
    )

    Parameters

    sample
    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