Redigera

Dela via


SystemTarget.SetComponent<TComponent>(TComponent) Method

Definition

Sets the provided value as the component for type TComponent.

public void SetComponent<TComponent> (TComponent instance) where TComponent : class;
abstract member SetComponent : 'Component -> unit (requires 'Component : null)
override this.SetComponent : 'Component -> unit (requires 'Component : null)
Public Sub SetComponent(Of TComponent As Class) (instance As TComponent)

Type Parameters

TComponent

The type used to lookup this component.

Parameters

instance
TComponent

Implements

Applies to