Compute the size of an object. Note that this only handles arrays or scalars of the primitive objects and Strings. It returns 0 for any object array element it does not understand.


Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function ComputeSize( _ 
   ByVal o As Object _ 
) As Integer
C#
public static int ComputeSize(
   object o
)
C++
public:
 static int ComputeSize(
   Object o
)
J#
public static int ComputeSize(
   object o
)
JScript
public static  function ComputeSize(
   o : Object
) : int

Parameters

o
The object whose size is desired.

See Also