RecognizerUpdateReachedEventArgs.AudioPosition Property

Gets the audio position associated with the event.

Namespace: Microsoft.Speech.Recognition
Assembly: Microsoft.Speech (in microsoft.speech.dll)


Public ReadOnly Property AudioPosition As TimeSpan
public TimeSpan AudioPosition { get; }
property TimeSpan AudioPosition {
    TimeSpan get ();
/** @property */
public TimeSpan get_AudioPosition ()
public function get AudioPosition () : TimeSpan

Property Value

Returns an instance of System.TimeSpan, which contains the location active within the speech buffer of a recognition engine, when the engine pauses and generates a RecognizerUpdateReached event.


When handling RecognizerUpdateReached events, a recognition engine pauses until the event handler returns.

Applications can use this location to access audio input which occurred while the recognition engine was paused.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.


Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also


RecognizerUpdateReachedEventArgs Class
RecognizerUpdateReachedEventArgs Members
Microsoft.Speech.Recognition Namespace