RegisteredComponentController.InstanceCountOfType(T) Method

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
Return the number of all currently existing instances of the class T, where T must be a RegisteredComponent

Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public static int InstanceCountOfType<T>()
where T : IRegisteredComponent

Type Parameters

T
a class derived from RegisteredComponent

Return Value

Type: Int32
The number of instances.

See Also