Redigera

Dela via


GrainTypeSharedContext.GetComponent<TComponent> Method

Definition

Gets a component.

public TComponent? GetComponent<TComponent> ();
member this.GetComponent : unit -> 'Component
Public Function GetComponent(Of TComponent) () As TComponent

Type Parameters

TComponent

The type specified in the corresponding SetComponent<TComponent>(TComponent) call.

Returns

TComponent

Applies to