Microsoft DirectX 9.0 SDK Update (October 2004)

DXHelp.GetObjectSize Method

Language:

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

Retrieves an object's size.

Definition

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


© 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