Redigera

Dela via


SystemTarget.ITargetHolder.GetComponent<TComponent> Method

Definition

Gets the component with the specified type.

TComponent ITargetHolder.GetComponent<TComponent> () where TComponent : class;
abstract member Orleans.Serialization.Invocation.ITargetHolder.GetComponent : unit -> 'Component (requires 'Component : null)
override this.Orleans.Serialization.Invocation.ITargetHolder.GetComponent : unit -> 'Component (requires 'Component : null)
Function GetComponent(Of TComponent As Class) () As TComponent Implements ITargetHolder.GetComponent

Type Parameters

TComponent

The component type.

Returns

TComponent

The component with the specified type.

Implements

Applies to