[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Create a HDF5 file

Syntax

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

Parameters

filename (String)
filename for new HDF5 file
mode (CreateMode)
H5F.CreateMode enumeration type that specifies such modes as read-only (H5F.CreateMode.ACC_RDONLY)
accessPropertyList (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