SystemTarget.GetComponent<TComponent> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the component with the specified type.
public TComponent GetComponent<TComponent> ();
member this.GetComponent : unit -> 'Component
Public Function GetComponent(Of TComponent) () As TComponent
Type Parameters
- TComponent
The component type.
Returns
TComponent
The component with the specified type.