WindowsRuntimeBufferExtensions.AsBuffer Method (Int32[], Int32, Int32)

Wraps an array of Int32 in an IBuffer.

Namespace: Lumia.InteropServices.WindowsRuntime
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version: 0.0.0.0

Lumia.InteropServices.WindowsRuntime.WindowsRuntimeBufferExtensions.AsBuffer = function(data, index, length);

Parameters

data
Type: System.Int32[]
The array to wrap.
index
Type: System.Int32
The starting index of a range to wrap within the array. The default value is 0.
length
Type: System.Int32
The length of a range to wrap within the array. The default value is 0, which implies the remainder of the array.

Return Value

Type: IBuffer
An IBuffer representing the data.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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).

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: