Microsoft DirectX 9.0 SDK Update (October 2004)

DXHelp.GetTypeSize Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves the size of the Type Leave Site.

Definition

Visual Basic .NET Public Shared Function GetTypeSize( _
    ByVal typeSize As Type _
) As Integer
C# public static int GetTypeSize(
    Type typeSize
);
Managed C++ public: static int GetTypeSize(
    Type *typeSize
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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