ComponentCache<T>.TryFindFirstActiveInstance(T) 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.
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.