GeneralConvertUnits(ListDouble, String, String) Method |
Namespace: DWSIM.ExtensionMethodsAssembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 8.8.1.0
Syntax public static List<double> ConvertUnits(
this List<double> vector,
string fromunits,
string tounits
)
<ExtensionAttribute>
Public Shared Function ConvertUnits (
vector As List(Of Double),
fromunits As String,
tounits As String
) As List(Of Double)
Request Example
View SourceParameters
- vector ListDouble
-
- fromunits String
-
- tounits String
-
Return Value
ListDoubleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ListDouble. 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