Skip Navigation Links.

H5A..::..openByName Method (H5ObjectWithAttributes, , )

Opens an attribute for an object by object name and attribute name. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5A.html#Annot-OpenByName

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

Syntax

Visual Basic
Public Shared Function openByName ( _
	objectId As H5ObjectWithAttributes, _
	objectName As String, _
	attributeName As String _
) As H5AttributeId
C#
public static H5AttributeId openByName(
	H5ObjectWithAttributes objectId,
	string objectName,
	string attributeName
)
Visual C++
public:
static H5AttributeId^ openByName(
	H5ObjectWithAttributes^ objectId, 
	String^ objectName, 
	String^ attributeName
)
JavaScript
HDF5DotNet.H5A.openByName = function(objectId, objectName, attributeName);

Parameters

objectId
Type: HDF5DotNet..::..H5ObjectWithAttributes
IN: Location from which to find object to which attribute is attached
objectName
Type: String
IN: Name of object to which attribute is attached, relative to loc_id
attributeName
Type: String
IN: Name of attribute to open

Return Value

Returns an attribute identifier

Exceptions

ExceptionCondition
HDF5DotNet..::..H5AopenByNameException throws H5AopenByNameException on failure.

See Also