Click or drag to resize

NexusExtensionsGetFirstObjectWithClassNameT Method

Gets the first objects with a given class name.

Namespace: Altaxo.Serialization.HDF5.Nexus
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax
C#
public static T GetFirstObjectWithClassName<T>(
	this IH5Group group,
	string className
)
where T : class, IH5Object

Parameters

group  IH5Group
The HDF5 group whose children should be searched.
className  String
The class name.

Type Parameters

T
Type of HDF5 object that is expected.

Return Value

T
The first object of type T with the given class name.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IH5Group. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also