Skip Navigation Links.

H5T..::..getNMembers Method

Retrieves the number of elements in a compound or enumeration datatype. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-GetNmembers

Namespace:  HDF5DotNet
Assembly:  HDF5DotNet (in HDF5DotNet.dll)

Syntax

Visual Basic
Public Shared Function getNMembers ( _
	typeId As H5DataTypeId _
) As Integer
C#
public static int getNMembers(
	H5DataTypeId typeId
)
Visual C++
public:
static int getNMembers(
	H5DataTypeId^ typeId
)
JavaScript
HDF5DotNet.H5T.getNMembers = function(typeId);

Parameters

typeId
Type: HDF5DotNet..::..H5DataTypeId
Identifier of datatype to query.

Return Value

Returns the number of elements if successful.

Remarks

H5Tget_nmembers retrieves the number of fields in a compound datatype or the number of members of an enumeration datatype.

Exceptions

ExceptionCondition
HDF5DotNet..::..H5TgetNMembersException throws H5TgetNMembersException on failure.

See Also