Share via


DXHelp.GetObjectSize(Object) Method (Microsoft.DirectX)

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(
    ObjectLeave SiteobjectSize
);
JScript public static function GetObjectSize(
    objectSize : ObjectLeave Site
) : int;

Parameters

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

Return Value

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

Remarks

Exceptions

ArgumentExceptionLeave Site

A value type must be passed to this method.