com.onlineobject.objectnet Namespace

DataUtils..::..SizeOfType Method

Retrieves the size of a given type in bytes. If the size is not already cached, it computes and caches it.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public static int SizeOfType(

	Type type

)

Parameters

type
Type: Type
The type to determine the size of.

Return Value

The size of the type in bytes.