IsValidDataType Method (SampledMetricDefinition)
Checks the provided Type against the list of recognized numeric types and special types supported for SampledMetric data.
'Declaration
Public Shared Function IsValidDataType( _
ByVal As Type _
) As Boolean
public static bool IsValidDataType(
Type
)
Parameters
- userDataType
- The typeof(SomeSpecificType) or dataValue.GetType() to check.
Return Value
True if Loupe supports sampled metric data samples with that Type, otherwise false.
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