DXHelp.GetObjectSize Method |
Language: |
Retrieves an object's size.
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;
objectSize System.Object
Reference to the Object whose size is being returned.
System.Int32
Integer that represents the size of the object.
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