Helper.IsPrimitiveType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.