Helper.IsPrimitiveType(String) Method

Definition

Indicates if a data type is a value type.

public:
 static bool IsPrimitiveType(System::String ^ typeName);
public static bool IsPrimitiveType (string typeName);
static member IsPrimitiveType : string -> bool
Public Shared Function IsPrimitiveType (typeName As String) As Boolean

Parameters

typeName
String

The name of the type to verify the data type of.

Returns

true if the data type is a value type; otherwise, false.

Applies to