STExtensionsCreateADComponent Method |
Create an AD component matching the ST component.
Check the HasSuspLoad to see if the ST
component requires an AD component.
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 ADComponent CreateADComponent(
this STBaseComponent stComponent
)
<ExtensionAttribute>
Public Shared Function CreateADComponent (
stComponent As STBaseComponent
) As ADComponent
public:
[ExtensionAttribute]
static ADComponent^ CreateADComponent(
STBaseComponent^ stComponent
)
Parameters
- stComponent
- Type: DHI.Mike1D.STDataAccessSTBaseComponent
[Missing <param name="stComponent"/> documentation for "M:DHI.Mike1D.STDataAccess.STExtensions.CreateADComponent(DHI.Mike1D.STDataAccess.STBaseComponent)"]
Return Value
Type:
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