GetByDefaultPath<T>¶
-
T INamed.GetByDefaultPath<T>(string path)¶
Gets the child with the specified type and relative default path.
- Template Parameters
T – The type of the child.
- Parameters
path – Relative default path to the child.
- Returns
T – Child with the type and specified relative default path.
- Throws
InvalidArgumentException
– Child with the type and specified relative default path does not exist.UnsupportedException
– Function not supported (e.g. for system).CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.System.ObjectDisposedException
– Object is disposed (only applicable if entity is disposable).