CameraVideoBrushExtensions.SetSource Method (VideoBrush, Object)

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

Sets the VideoBrush source to the camera.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

<ExtensionAttribute> _
Public Shared Sub SetSource ( _
    brush As VideoBrush, _
    camera As Object _
)
public static void SetSource(
    this VideoBrush brush,
    Object camera
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type VideoBrush. When you use instance method syntax to call this method, omit the first parameter.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

CameraVideoBrushExtensions Class

SetSource Overload

Microsoft.Devices Namespace