| IActorContextChild Method |
Retrieves a child actor with the specified name, if it exists.
If the child with the given name cannot be found,
then
Nobody will be returned instead.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax IActorRef Child(
string name
)
abstract Child :
name : string -> IActorRef
Parameters
- name
- Type: SystemString
The name of the child actor.
e.g. "child1", "foo"
Not the path, just the name of the child at the time it was created by this parent.
Return Value
Type:
IActorRefThe
IActorRef belonging to the child if found,
Nobody otherwise.
See Also