DXHelp.GetTypeSize Method

Language:

Retrieves the size of the Type Leave Site.

Definition

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

Parameters

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

Return Value

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

Remarks

Exceptions
ArgumentException Leave Site A value type must be passed to this method.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center