ItemServicesGetItemWithChildren Method |
Retrieves a single
Item based on its UID (text-based unique identifier) and classification,
along with its immediate children, and optionally all descendants.
Namespace:
FactoryLogix.xTend.Logistics
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public Item GetItemWithChildren(
Guid sessionId,
string itemUID,
ItemClassification classification,
bool allDescendants
)
Public Function GetItemWithChildren (
sessionId As Guid,
itemUID As String,
classification As ItemClassification,
allDescendants As Boolean
) As Item
public:
virtual Item^ GetItemWithChildren(
Guid sessionId,
String^ itemUID,
ItemClassification classification,
bool allDescendants
) sealed
abstract GetItemWithChildren :
sessionId : Guid *
itemUID : string *
classification : ItemClassification *
allDescendants : bool -> Item
override GetItemWithChildren :
sessionId : Guid *
itemUID : string *
classification : ItemClassification *
allDescendants : bool -> Item
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - itemUID
- Type: SystemString
The UID of the item - classification
- Type: FactoryLogix.xTend.DataObjectsItemClassification
An enumerated value of type ItemClassification describing the type or kind of the Item being sought. - allDescendants
- Type: SystemBoolean
If null or false, the Item returned will include only its immediate descendants.
If true, the Item returned will include all known descendants (entire genealogy).
Return Value
Type:
ItemAn
Item object representing the item matching the specified UID and classification, along with its immediate children or all descendants.
A value of null will be returned if the item is not found.
Exceptions See Also