DHI.Mike1D
DHI.Mike1D
Namespaces
DHI.Mike1D.Generic
GenericExtensions Class
GenericExtensions Methods
GetValue Method
GetValue(T) Method (IDictionary(String, T), String)
GetValue(T) Method (NetworkData(T), ILocation)
GetValue(T) Method (NetworkData(T), ILocation, T)
GenericExtensions
GetValue
T
Method (IDictionary
String,
T
, String)
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 18.0.0.0 (11.1.1.1111)
Syntax
C#
Copy
public
static
T
GetValue
<T>(
this
IDictionary
<
string
, T>
dictionary
,
string
key
)
Parameters
dictionary
Type:
System.Collections.Generic
IDictionary
String
,
T
key
Type:
System
String
Type Parameters
T
Return Value
Type:
T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDictionary
String
,
T
. 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
Reference
GenericExtensions Class
GetValue Overload
DHI.Mike1D.Generic Namespace