Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / EventMetricDefinition Class / IsSupportedValueType Method
The type to be verified.

In This Topic
    IsSupportedValueType Method (EventMetricDefinition)
    In This Topic
    Indicates whether the provided type can be stored as a value or not.
    Syntax
    'Declaration
     
    
    Public Shared Function IsSupportedValueType( _
       ByVal type As Type _
    ) As Boolean
    public static bool IsSupportedValueType( 
       Type type
    )

    Parameters

    type
    The type to be verified.

    Return Value

    True if the supplied type is supported, false otherwise.
    Remarks
    Most types can be stored, with the value of non-numeric types being the string representation of the type. Collections, arrays, and other such sets can't be stored as a single value.
    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