STExtensionsGetComponentIndex Method

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

Definition

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

Parameters

stData  STData

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

componentId  String

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

Return Value

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