ItemServicesGetItemChildren Method |
Retrieves the immediate children and optinoally all descendants of an
Item based on its 128-bit unique identifier (the Id property of the
Item object).
Namespace:
FactoryLogix.xTend.Logistics
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public IEnumerable<Item> GetItemChildren(
Guid sessionId,
Guid itemId,
bool allDescendants
)
Public Function GetItemChildren (
sessionId As Guid,
itemId As Guid,
allDescendants As Boolean
) As IEnumerable(Of Item)
public:
virtual IEnumerable<Item^>^ GetItemChildren(
Guid sessionId,
Guid itemId,
bool allDescendants
) sealed
abstract GetItemChildren :
sessionId : Guid *
itemId : Guid *
allDescendants : bool -> IEnumerable<Item>
override GetItemChildren :
sessionId : Guid *
itemId : Guid *
allDescendants : bool -> IEnumerable<Item>
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - itemId
- Type: SystemGuid
The 128-bit unique identifier of the Item. Corresponds to its primary key in the FactoryLogix database. - 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:
IEnumerableItemA list of
Item objects representing the immediate children of the item matching the specified itemId.
Exceptions See Also