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
- brush
Type: System.Windows.Media.VideoBrush
- camera
Type: System.Object
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.