unsetReferencesForOne static method

void unsetReferencesForOne(
  1. dynamic component
)

Unsets references in specific component.

To unset references components must implement IUnreferenceable interface. If they don't the call to this method has no effect.

  • component the component to unset references.

See IUnreferenceable

Implementation

static void unsetReferencesForOne(component) {
  if (component is IUnreferenceable) component.unsetReferences();
}