Method TryGet
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
TryGet(string, out ObsCanvas)
Gets the canvas with a name, if there is one.
public bool TryGet(string name, out ObsCanvas canvas)
Parameters
Returns
- bool
Whether there is a canvas with the name.
Exceptions
- ObsAmbiguousNameException
More than one canvas matches (only possible when case is ignored).
TryGet(Guid, out ObsCanvas)
Gets the canvas with a UUID, if there is one.
public bool TryGet(Guid uuid, out ObsCanvas canvas)
Parameters
Returns
- bool
Whether there is a canvas with the UUID.