ConnectionExtensionsItemByKeyedName Method |
Retrieve an item based on its type and keyed name
Namespace: Innovator.ClientAssembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax public static IReadOnlyItem ItemByKeyedName(
this IConnection conn,
string itemTypeName,
string keyedName
)
<ExtensionAttribute>
Public Shared Function ItemByKeyedName (
conn As IConnection,
itemTypeName As String,
keyedName As String
) As IReadOnlyItem
Parameters
- conn
- Type: Innovator.ClientIConnection
Connection to query the item on - itemTypeName
- Type: SystemString
Name of the item type - keyedName
- Type: SystemString
Keyed name of the item
Return Value
Type:
IReadOnlyItemUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IConnection. 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