Share via


WindowsRuntimeBufferExtensions.AsBuffer Method (UInt32[])

Wraps an array of UInt32 in an IBuffer.

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

Syntax

public static IBuffer AsBuffer(
    this uint[] data
)
'Declaration
<ExtensionAttribute>
Public Shared Function AsBuffer ( 
    data As UInteger()
) As IBuffer
public:
[ExtensionAttribute]
static IBuffer^ AsBuffer(
    array<unsigned int>^ data
)
Lumia.InteropServices.WindowsRuntime.WindowsRuntimeBufferExtensions.AsBuffer = function(data);

Parameters

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).

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

WindowsRuntimeBufferExtensions Class

WindowsRuntimeBufferExtensions.WindowsRuntimeBufferExtensions Members

AsBuffer Overload

Lumia.InteropServices.WindowsRuntime Namespace