ArrayExtension Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ArrayExtension class.
Overloads
ArrayExtension() |
Initializes a new instance of the ArrayExtension class. This creates an empty array. |
ArrayExtension(Array) |
Initializes a new instance of the ArrayExtension class based on the provided raw array. |
ArrayExtension(Type) |
Initializes a new instance of the ArrayExtension class and initializes the type of the array. |
ArrayExtension()
Initializes a new instance of the ArrayExtension class. This creates an empty array.
public:
ArrayExtension();
public ArrayExtension ();
Public Sub New ()
Applies to
ArrayExtension(Array)
Initializes a new instance of the ArrayExtension class based on the provided raw array.
public:
ArrayExtension(Array ^ elements);
public ArrayExtension (Array elements);
new System.Windows.Markup.ArrayExtension : Array -> System.Windows.Markup.ArrayExtension
Public Sub New (elements As Array)
Parameters
- elements
- Array
The array content that populates the created array.
Exceptions
elements
is null
.
Remarks
This method supports markup extension behavior and is not typically called by user code, unless that user code implements XAML processing behavior.
Applies to
ArrayExtension(Type)
Initializes a new instance of the ArrayExtension class and initializes the type of the array.
public:
ArrayExtension(Type ^ arrayType);
public ArrayExtension (Type arrayType);
new System.Windows.Markup.ArrayExtension : Type -> System.Windows.Markup.ArrayExtension
Public Sub New (arrayType As Type)
Parameters
- arrayType
- Type
The object type of the new array.
Exceptions
arrayType
is null
.
Remarks
This method supports markup extension behavior and is not typically called by user code, unless that user code implements XAML processing behavior.