Property HeldBy
- Namespace
- OBSStudioClient.Exceptions
- Assembly
- OBSClient.dll
HeldBy
Gets the object that holds the name, as far as the model knows: a scene, a group, an input, or an input that was removed and that OBS Studio keeps alive. It is null when the model does not show what holds the name (it can be behind OBS Studio by a few milliseconds).
public ObsSource? HeldBy { get; }
Property Value
Remarks
When it is a source that is Detached, RemoveAsync on it removes the scene items that keep it alive, so that OBS Studio destroys it and
the name is free (not for a group: RemoveAsync refuses a group, which is destroyed with the scene item that shows it, and the message names that scene item).