Instance.TryGetChildInstance Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS Namespace > Instance Class > Instance Methods >

Instance.TryGetChildInstance Method

Tries to get the child instance with the specified InstanceId.

Namespace: BNCS
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public bool TryGetChildInstance(
 string InstanceId,
 out IBNCSChildInstance instance
)

Parameters

InstanceId

Type: String
The InstanceId of the child instance to retrieve.

instance

Type: BNCS.Interfaces.IBNCSChildInstance
The retrieved IBNCSChildInstance object, if found.

Return Value

True if the child instance was found, false otherwise.

 

See Also


Instance Class

BNCS Namespace