This documentation is archived and is not being maintained.

ArrayExtension Constructor (Array)

Initializes a new instance of the ArrayExtension class based on the provided raw array.

Namespace:  System.Windows.Markup
Assembly:  PresentationFramework (in PresentationFramework.dll)

public ArrayExtension(
	Array elements
You cannot use constructors in XAML.


Type: System.Array

The array to populate the extension with.

This method supports WPF XAML processor implementation, and is not intended to be called directly. In XAML you would simply create elements in markup as child elements of x:Array.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0