![]() |
![]() |
![]() |
DXHelp.GetTypeSize Method |
Language: |
Retrieves the size of the Type .
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;
typeSize System.Type
Reference to the Typewhose size is being returned.
System.Int32
Integer that represents the size of the type.
Exceptions
ArgumentException 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