GetAvailableVideoCaptureDevices Method
Collapse the table of content
Expand the table of content

CaptureDeviceConfiguration.GetAvailableVideoCaptureDevices Method

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

Returns a collection of VideoCaptureDevice objects that represent the available video capture devices on the client system.

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

'Declaration
Public Shared Function GetAvailableVideoCaptureDevices As ReadOnlyCollection(Of VideoCaptureDevice)

Return Value

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

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft