Open sandboxFocus

Method HasRecorder

HasRecorder(bool)

Determines whether the current object is attached to a Recorder, if not, optionally attaches the object to the default Recorder.

Declaration
[RecordingScope(RecordingScopeOption.Skip, AttributeId = -5178615502787633143, AttributePriority = 536870912)]
bool HasRecorder(bool autoAttach)
Parameters
Type Name Description
bool autoAttach

true if the current object should be automatically attached to the default Recorder if it is not yet attached, otherwise false.

Returns
Type Description
bool

true if the object is already attached to a Recorder or if autoAttach is true, otherwise false.