Skip Navigation Links.

H5A..::..getNumberOfAttributes Method

Determines the number of attributes attached to an object. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5A.html#Annot-NumAttrs

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

Syntax

Visual Basic
Public Shared Function getNumberOfAttributes ( _
	objectId As H5ObjectWithAttributes _
) As Integer
C#
public static int getNumberOfAttributes(
	H5ObjectWithAttributes objectId
)
Visual C++
public:
static int getNumberOfAttributes(
	H5ObjectWithAttributes^ objectId
)
JavaScript
HDF5DotNet.H5A.getNumberOfAttributes = function(objectId);

Parameters

objectId
Type: HDF5DotNet..::..H5ObjectWithAttributes
IN: Identifier of a group, dataset, or named datatype.

Return Value

Returns the number of attributes.

Exceptions

ExceptionCondition
HDF5DotNet..::..H5AgetNumberOfAttributesException throws H5AgetNumberOfAttributesException on failure.

See Also