[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Create a data set at the specified location using a standard
data type.
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function create ( _ groupOrFileId As H5LocId, _ datasetName As String, _ dataType As H5Type, _ dataspaceId As H5DataSpaceId _ ) As H5DataSetId |
| C# |
|---|
public static H5DataSetId create ( H5LocId groupOrFileId, string datasetName, H5T.H5Type dataType, H5DataSpaceId dataspaceId ) |
| C++ |
|---|
public: static H5DataSetId^ create ( H5LocId^ groupOrFileId, String^ datasetName, H5Type dataType, H5DataSpaceId^ dataspaceId ) |
Parameters
- groupOrFileId (H5LocId)
- IN: Identifier of the file or group within which to create the dataset.
- datasetName (String)
- IN: The name of the dataset to create.
- dataType (H5Type)
- IN: standard datatype to use when creating the dataset.
- dataspaceId (H5DataSpaceId)
- IN: Identifier of the dataspace to use when creating the dataset.
Exceptions
| Exception | Condition |
|---|---|
| HDF5DotNet.H5DcreateException | throws H5DcreateException if the data set creation fails |