Mono Class Library: System.Type Overview | Members

System.Type.IsPrimitiveImpl Method

When overridden in a derived class, implements the Type.IsPrimitive property and determines whether the Type is one of the primitive types.

protected abstract bool IsPrimitiveImpl ()

Returns

true if the Type is one of the primitive types; otherwise, false.

Remarks

Operation
This method returns true if the underlying type of the current instance is one of the following: bool, byte, sbyte, short, ushort, int, uint, long, ulong, char, double, and float.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0