Click or drag to resize
ConnectionExtensionsItemById Method (IConnection, String, String)
Retrieve an item based on its type and ID

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public static IReadOnlyItem ItemById(
	this IConnection conn,
	string itemTypeName,
	string id
)

Parameters

conn
Type: Innovator.ClientIConnection
Connection to query the item on
itemTypeName
Type: SystemString
Name of the item type
id
Type: SystemString
ID of the item

Return Value

Type: IReadOnlyItem

Usage 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