CameraVideoBrushExtensions.SetSource Method (VideoBrush, Object)

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub SetSource ( _
    brush As VideoBrush, _
    camera As Object _
)
public static void SetSource(
    this VideoBrush brush,
    Object camera
)
[ExtensionAttribute]
public:
static void SetSource(
    VideoBrush^ brush, 
    Object^ camera
)
static member SetSource : 
        brush:VideoBrush * 
        camera:Object -> unit

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. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

CameraVideoBrushExtensions Class

SetSource Overload

Microsoft.Devices Namespace