Skip Navigation Links.

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

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

Syntax

Visual Basic
Public Shared Function create ( _
	filename As String, _
	mode As H5F..::..CreateMode, _
	accessPropertyList As H5PropertyListId _
) As H5FileId
C#
public static H5FileId create(
	string filename,
	H5F..::..CreateMode mode,
	H5PropertyListId accessPropertyList
)
Visual C++
public:
static H5FileId^ create(
	String^ filename, 
	H5F..::..CreateMode mode, 
	H5PropertyListId^ accessPropertyList
)
JavaScript
HDF5DotNet.H5F.create = function(filename, mode, 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)
accessPropertyList
Type: HDF5DotNet..::..H5PropertyListId

Return Value

a vaild H5FileId for the created file

Remarks

Keeping the H5Id class implemented as an abstract data type provides us the opportunity for future source-compatible library upgrades.

Exceptions

ExceptionCondition
throws H5CreateException when create fails

See Also