|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework.Classes Namespace > AdhocInstance Class > AdhocInstance Methods > AdhocInstance.TryGetChildInstance Method |
Tries to get the child instance with the specified InstanceId.
Namespace: BNCS.Core.DriverFramework.Classes
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public bool TryGetChildInstance(
string InstanceId,
out IBNCSChildInstance instance
)
InstanceId
Type: String
The unique identifier of the child instance to retrieve.
instance
Type: BNCS.Interfaces.IBNCSChildInstance
When this method returns, contains the child instance with the specified InstanceId, if found; otherwise, null.
True if the child instance with the specified InstanceId was found and retrieved successfully; otherwise, false.
BNCS.Core.DriverFramework.Classes Namespace