Share via


DXHelp.GetTypeSize(Type) Method (Microsoft.DirectX)

Retrieves the size of the TypeLeave Site.

Definition

Visual Basic Public Shared Function GetTypeSize( _
    ByVal typeSize As TypeLeave Site _
) As Integer
C# public static int GetTypeSize(
    TypeLeave Site typeSize
);
C++ public:
static int GetTypeSize(
    TypeLeave SitetypeSize
);
JScript public static function GetTypeSize(
    typeSize : TypeLeave Site
) : int;

Parameters

typeSize System.Type
Reference to the TypeLeave Site whose size is being returned.

Return Value

System.Int32
Integer that represents the size of the type.

Remarks

Exceptions

ArgumentExceptionLeave Site

A value type must be passed to this method.