Skip Navigation Links.

H5T..::..commit Method (H5LocId, , H5DataTypeId, H5PropertyListId, H5PropertyListId, H5PropertyListId)

Commits a transient datatype, linking it into the file and creating a new named datatype. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-Commit

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

Syntax

Visual Basic
Public Shared Sub commit ( _
	location As H5LocId, _
	dataTypeName As String, _
	typeId As H5DataTypeId, _
	linkCreationPropertyList As H5PropertyListId, _
	dataTypeCreationPropertyList As H5PropertyListId, _
	dataTypeAccessPropertyList As H5PropertyListId _
)
C#
public static void commit(
	H5LocId location,
	string dataTypeName,
	H5DataTypeId typeId,
	H5PropertyListId linkCreationPropertyList,
	H5PropertyListId dataTypeCreationPropertyList,
	H5PropertyListId dataTypeAccessPropertyList
)
Visual C++
public:
static void commit(
	H5LocId^ location, 
	String^ dataTypeName, 
	H5DataTypeId^ typeId, 
	H5PropertyListId^ linkCreationPropertyList, 
	H5PropertyListId^ dataTypeCreationPropertyList, 
	H5PropertyListId^ dataTypeAccessPropertyList
)
JavaScript
HDF5DotNet.H5T.commit = function(location, dataTypeName, typeId, linkCreationPropertyList, dataTypeCreationPropertyList, dataTypeAccessPropertyList);

Parameters

location
Type: HDF5DotNet..::..H5LocId
IN: Location identifier
dataTypeName
Type: String
IN: Name given to committed datatype
typeId
Type: HDF5DotNet..::..H5DataTypeId
IN: Identifier of datatype to be committed
linkCreationPropertyList
Type: HDF5DotNet..::..H5PropertyListId
IN: Link creation property list
dataTypeCreationPropertyList
Type: HDF5DotNet..::..H5PropertyListId
IN: Datatype creation property list
dataTypeAccessPropertyList
Type: HDF5DotNet..::..H5PropertyListId
IN: Datatype access property list

Return Value

void

Exceptions

ExceptionCondition
HDF5DotNet..::..H5TcommitException throws H5TcommitException on failure.

See Also