DXHelp.GetObjectSize(Object) Method (Microsoft.DirectX)
Retrieves an object's size.
Definition
Visual Basic Public Shared Function GetObjectSize( _
ByVal objectSize As Object _
) As IntegerC# public static int GetObjectSize(
object objectSize
);C++ public:
static int GetObjectSize(
Object^ objectSize
);JScript public static function GetObjectSize(
objectSize : Object
) : int;
Parameters
objectSize System.Object
Reference to the Object whose size is being returned.
Return Value
System.Int32
Integer that represents the size of the object.
Remarks
Exceptions
A value type must be passed to this method.