Table of Contents

Class H5Attribute<T>

Namespace
PureHDF
Assembly
PureHDF.dll

An attribute.

public class H5Attribute<T> : H5Attribute

Type Parameters

T
Inheritance
H5Attribute<T>

Constructors

H5Attribute(H5OpaqueInfo?)

Initializes a new instance of the H5Attribute class with a null dataspace.

public H5Attribute(H5OpaqueInfo? opaqueInfo = null)

Parameters

opaqueInfo H5OpaqueInfo

Set this paramter to a non-null value to treat data of type byte[] as opaque.

H5Attribute(T, ulong[]?, H5OpaqueInfo?)

Initializes a new instance of the H5Attribute class. Use this constructor to preserve specific type information, e.g. for nullable value types like int?.

public H5Attribute(T data, ulong[]? dimensions = null, H5OpaqueInfo? opaqueInfo = null)

Parameters

data T

The attribute data.

dimensions ulong[]

The attribute dimensions.

opaqueInfo H5OpaqueInfo

Set this paramter to a non-null value to treat data of type byte[] as opaque.