This routine returns the size of the base element of an array.


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

Syntax

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

Parameters

o
The array object whose base length is desired.

Return Value

the size of the object in bytes, 0 if null, or -1 if not a primitive array.

See Also