Skip Navigation Links.

H5T..::..getMemberOffset Method

Retrieves the offset of a field of a compound datatype. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-GetMemberOffset

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

Syntax

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

Parameters

typeId
Type: HDF5DotNet..::..H5DataTypeId
IN: Identifier of datatype to query.
memberNumber
Type: Int32
IN: Number of the field whose offset is requested.

Return Value

Returns the byte offset of the field if successful; otherwise returns 0 (zero). Note that zero is a valid offset and that this function will fail only if a call to H5Tget_member_class() fails with the same arguments.

Exceptions

ExceptionCondition
HDF5DotNet..::..H5TgetMemberOffsetException throws H5TgetMemberOffsetException on failure.

See Also