ControlExtensions.CreateUniqueId Method |
Create a unique table id, i.e. an id that does not already exist
as a key in the tableInfos dictionary.
Namespace:
DHI.Mike1D.ControlModule
Assembly:
DHI.Mike1D.ControlModule (in DHI.Mike1D.ControlModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic static string CreateUniqueId(
this Dictionary<string, IAnyTable> tableInfos,
string tableId
)
<ExtensionAttribute>
Public Shared Function CreateUniqueId (
tableInfos As Dictionary(Of String, IAnyTable),
tableId As String
) As String
public:
[ExtensionAttribute]
static String^ CreateUniqueId(
Dictionary<String^, IAnyTable^>^ tableInfos,
String^ tableId
)
Parameters
- tableInfos
- Type: System.Collections.Generic.Dictionary<String, IAnyTable>
[Missing <param name="tableInfos"/> documentation for "M:DHI.Mike1D.ControlModule.ControlExtensions.CreateUniqueId(System.Collections.Generic.Dictionary{System.String,DHI.Mike1D.Generic.IAnyTable},System.String)"]
- tableId
- Type: System.String
[Missing <param name="tableId"/> documentation for "M:DHI.Mike1D.ControlModule.ControlExtensions.CreateUniqueId(System.Collections.Generic.Dictionary{System.String,DHI.Mike1D.Generic.IAnyTable},System.String)"]
Return Value
Type:
String[Missing <returns> documentation for "M:DHI.Mike1D.ControlModule.ControlExtensions.CreateUniqueId(System.Collections.Generic.Dictionary{System.String,DHI.Mike1D.Generic.IAnyTable},System.String)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Dictionary<String,
IAnyTable>. 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