[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, _ creationPropertyList As H5PropertyListId, _ accessPropertyList As H5PropertyListId _ ) As H5FileId |
| C# |
|---|
public static H5FileId create ( string filename, H5F.CreateMode mode, H5PropertyListId creationPropertyList, H5PropertyListId accessPropertyList ) |
| C++ |
|---|
public: static H5FileId^ create ( String^ filename, CreateMode mode, H5PropertyListId^ creationPropertyList, 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)
- creationPropertyList (H5PropertyListId)
- IN: File creation property list identifier, used when modifying default file meta-data.
- accessPropertyList (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
| Exception | Condition |
|---|---|
| throws H5CreateException when create fails |