DXHelp.GetTypeSize(Type) Method (Microsoft.DirectX)
Retrieves the size of the Type.
Definition
Visual Basic Public Shared Function GetTypeSize( _
ByVal typeSize As Type _
) As IntegerC# public static int GetTypeSize(
Type typeSize
);C++ public:
static int GetTypeSize(
Type^ typeSize
);JScript public static function GetTypeSize(
typeSize : Type
) : int;
Parameters
typeSize System.Type
Reference to the Type whose size is being returned.
Return Value
System.Int32
Integer that represents the size of the type.
Remarks
Exceptions
A value type must be passed to this method.