Skip Navigation Links.

H5F..::..create Method (, H5F..::..CreateMode, H5PropertyListId, H5PropertyListId)

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

Syntax

Visual Basic
Public Shared Function create ( _
	filename As String, _
	mode As H5F..::..CreateMode, _
	creationPropertyList As H5PropertyListId, _
	accessPropertyList As H5PropertyListId _
) As H5FileId
C#
public static H5FileId create(
	string filename,
	H5F..::..CreateMode mode,
	H5PropertyListId creationPropertyList,
	H5PropertyListId accessPropertyList
)
Visual C++
public:
static H5FileId^ create(
	String^ filename, 
	H5F..::..CreateMode mode, 
	H5PropertyListId^ creationPropertyList, 
	H5PropertyListId^ accessPropertyList
)
JavaScript
HDF5DotNet.H5F.create = function(filename, mode, creationPropertyList, accessPropertyList);

Parameters

filename
Type: String
filename for new HDF5 file
mode
Type: HDF5DotNet..::..H5F..::..CreateMode
H5F.CreateMode enumeration type that specifies such modes as read-only (H5F.CreateMode.ACC_RDONLY)
creationPropertyList
Type: HDF5DotNet..::..H5PropertyListId
IN: File creation property list identifier, used when modifying default file meta-data.
accessPropertyList
Type: HDF5DotNet..::..H5PropertyListId
IN: File access property list identifier. If parallel file access is desired, this is a collective call according to the communicator stored in the access_id.

Return Value

a vaild H5FileId for the created file

Remarks

us the opportunity for future source-compatible library upgrades.

Exceptions

ExceptionCondition
throws H5CreateException when create fails

See Also