Skip Navigation Links.

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

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, _
	attributeAccessPropertyListId As H5PropertyListId, _
	linkAccessPropertyListId As H5PropertyListId _
) As H5AttributeId
C#
public static H5AttributeId openByName(
	H5ObjectWithAttributes objectId,
	string objectName,
	string attributeName,
	H5PropertyListId attributeAccessPropertyListId,
	H5PropertyListId linkAccessPropertyListId
)
Visual C++
public:
static H5AttributeId^ openByName(
	H5ObjectWithAttributes^ objectId, 
	String^ objectName, 
	String^ attributeName, 
	H5PropertyListId^ attributeAccessPropertyListId, 
	H5PropertyListId^ linkAccessPropertyListId
)
JavaScript
HDF5DotNet.H5A.openByName = function(objectId, objectName, attributeName, attributeAccessPropertyListId, linkAccessPropertyListId);

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
attributeAccessPropertyListId
Type: HDF5DotNet..::..H5PropertyListId
IN: Attribute access property list
linkAccessPropertyListId
Type: HDF5DotNet..::..H5PropertyListId
IN: Link access property list

Return Value

Returns an attribute identifier

Exceptions

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

See Also