Click or drag to resize

STExtensionsGetComponent Method

Get component with specified componentId, or null 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 STBaseComponent GetComponent(
	this STData stData,
	string componentId
)

Parameters

stData
Type: DHI.Mike1D.STDataAccessSTData

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

componentId
Type: SystemString

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

Return Value

Type: STBaseComponent

[Missing <returns> documentation for "M:DHI.Mike1D.STDataAccess.STExtensions.GetComponent(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