Class NativeObject
public abstract class NativeObject : IH5Object
- Inheritance
-
NativeObject
- Implements
- Derived
Properties
Name
Gets the name.
public string Name { get; }
Property Value
Methods
Attribute(string)
Checks if the attribute with the specified name exist.
public IH5Attribute Attribute(string name)
Parameters
namestringThe name of the attribute.
Returns
- IH5Attribute
A boolean which indicates if the attribute exists.
AttributeAsync(string, CancellationToken)
Checks if the attribute with the specified name exist.
public Task<IH5Attribute> AttributeAsync(string name, CancellationToken cancellationToken = default)
Parameters
namestringThe name of the attribute.
cancellationTokenCancellationTokenA token to cancel the current operation.
Returns
- Task<IH5Attribute>
A boolean which indicates if the attribute exists.
AttributeExists(string)
Gets the attribute named name.
public bool AttributeExists(string name)
Parameters
namestringThe name of the attribute.
Returns
- bool
The requested attribute.
AttributeExistsAsync(string, CancellationToken)
Gets the attribute named name.
public Task<bool> AttributeExistsAsync(string name, CancellationToken cancellationToken = default)
Parameters
namestringThe name of the attribute.
cancellationTokenCancellationTokenA token to cancel the current operation.
Returns
Attributes()
Gets an enumerable of the available attributes.
public IEnumerable<IH5Attribute> Attributes()
Returns
AttributesAsync(CancellationToken)
Gets an enumerable of the available attributes.
A token to cancel the current operation.public Task<IEnumerable<IH5Attribute>> AttributesAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken