Table of Contents

ToTypeCode Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/TypeExtensions.cs

ToTypeCode(Type)

Gets the underlying type code of the specified type.

public static TypeCode ToTypeCode(this Type type)

Parameters

type Type

The Type to extend.

Returns

TypeCode

The code of the underlying type, or Empty if type is null.