Language
Edit

ComponentCache<T>.TryFindFirstActiveInstance(T) Method

Definition

Finds the first instance of an object of the given type.

public static bool TryFindFirstActiveInstance(out T result);
static member TryFindFirstActiveInstance : 'T -> bool
Public Shared Function TryFindFirstActiveInstance (ByRef result As T) As Boolean

Parameters

result
T

Returns

true if an instance was found, and false otherwise.

Applies to