DXHelp.GetObjectSize Method

Language:

Retrieves an object's size.

Definition

Visual Basic Public Shared Function GetObjectSize( _
    ByVal objectSize As Object _
) As Integer
C# public static int GetObjectSize(
    object objectSize
);
C++ public:
static int GetObjectSize(
    ObjectobjectSize
);
JScript public static function GetObjectSize(
    objectSize : Object
) : int;

Parameters

objectSize System.Object
Reference to the Object Leave Site whose size is being returned.

Return Value

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

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