STExtensionsCreateADComponent Method

Create an AD component matching the ST component.

Check the HasSuspLoad to see if the ST component requires an AD component.

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 ADComponent CreateADComponent(
	this STBaseComponent stComponent
)

Parameters

stComponent  STBaseComponent

[Missing <param name="stComponent"/> documentation for "M:DHI.Mike1D.STDataAccess.STExtensions.CreateADComponent(DHI.Mike1D.STDataAccess.STBaseComponent)"]

Return Value

ADComponent

[Missing <returns> documentation for "M:DHI.Mike1D.STDataAccess.STExtensions.CreateADComponent(DHI.Mike1D.STDataAccess.STBaseComponent)"]

Usage Note

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