GetAvailableAudioCaptureDevices Method
Collapse the table of content
Expand the table of content

CaptureDeviceConfiguration.GetAvailableAudioCaptureDevices Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns a collection of AudioCaptureDevice objects that represent the available audio capture devices on the client system.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Shared Function GetAvailableAudioCaptureDevices As ReadOnlyCollection(Of AudioCaptureDevice)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection(Of AudioCaptureDevice)
A generic read-only collection of AudioCaptureDevice objects that represent the available audio capture devices on the client system.

If no audio capture devices are available, the collection is empty.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft