Click or drag to resize

STExtensionsGetComponentIndex Method

Get component index of specified componentId, or -1 if not found.

Namespace:  DHI.Mike1D.STDataAccess
Assembly:  DHI.Mike1D.HDParameterDataAccess (in DHI.Mike1D.HDParameterDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static (int componentIndex, bool nonCohesive) GetComponentIndex(
	this STData stData,
	string componentId
)

Parameters

stData
Type: DHI.Mike1D.STDataAccessSTData

[Missing <param name="stData"/> documentation for "M:DHI.Mike1D.STDataAccess.STExtensions.GetComponentIndex(DHI.Mike1D.STDataAccess.STData,System.String)"]

componentId
Type: SystemString

[Missing <param name="componentId"/> documentation for "M:DHI.Mike1D.STDataAccess.STExtensions.GetComponentIndex(DHI.Mike1D.STDataAccess.STData,System.String)"]

Return Value

Type: ValueTupleInt32, Boolean

[Missing <returns> documentation for "M:DHI.Mike1D.STDataAccess.STExtensions.GetComponentIndex(DHI.Mike1D.STDataAccess.STData,System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type STData. 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