[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Retrieves the number of elements in a compound or enumeration
datatype.
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function getNMembers ( _ typeId As H5DataTypeId _ ) As Integer |
| C# |
|---|
public static int getNMembers ( H5DataTypeId typeId ) |
| C++ |
|---|
public: static int getNMembers ( H5DataTypeId^ typeId ) |
Parameters
- typeId (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
| Exception | Condition |
|---|---|
| HDF5DotNet.H5TgetNMembersException | throws H5TgetNMembersException on failure. |