VideoSink.AllocationMode Property

Specifies how the camera video buffer is maintained on Silverlight for Windows Phone.

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

Syntax

'Declaration
Public Property AllocationMode As SampleAllocationMode
public SampleAllocationMode AllocationMode { get; set; }

Property Value

Type: System.Windows.Media.SampleAllocationMode
The sample allocation mode.

Remarks

ReuseBuffer can improve performance on Silverlight for Windows Phone by reducing the amount of garbage collection that is required

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.