Redigera

Dela via


CodeArrayCreateExpression Constructors

Definition

Initializes a new instance of the CodeArrayCreateExpression class.

Overloads

CodeArrayCreateExpression()

Initializes a new instance of the CodeArrayCreateExpression class.

CodeArrayCreateExpression(CodeTypeReference, CodeExpression)

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and code expression indicating the number of indexes for the array.

CodeArrayCreateExpression(CodeTypeReference, CodeExpression[])

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and initialization expressions.

CodeArrayCreateExpression(CodeTypeReference, Int32)

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and number of indexes for the array.

CodeArrayCreateExpression(String, CodeExpression)

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type name and code expression indicating the number of indexes for the array.

CodeArrayCreateExpression(String, CodeExpression[])

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type name and initializers.

CodeArrayCreateExpression(String, Int32)

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type name and number of indexes for the array.

CodeArrayCreateExpression(Type, CodeExpression)

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and code expression indicating the number of indexes for the array.

CodeArrayCreateExpression(Type, CodeExpression[])

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and initializers.

CodeArrayCreateExpression(Type, Int32)

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and number of indexes for the array.

CodeArrayCreateExpression()

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class.

public:
 CodeArrayCreateExpression();
public CodeArrayCreateExpression ();
Public Sub New ()

Applies to

CodeArrayCreateExpression(CodeTypeReference, CodeExpression)

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and code expression indicating the number of indexes for the array.

public:
 CodeArrayCreateExpression(System::CodeDom::CodeTypeReference ^ createType, System::CodeDom::CodeExpression ^ size);
public CodeArrayCreateExpression (System.CodeDom.CodeTypeReference createType, System.CodeDom.CodeExpression size);
new System.CodeDom.CodeArrayCreateExpression : System.CodeDom.CodeTypeReference * System.CodeDom.CodeExpression -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As CodeTypeReference, size As CodeExpression)

Parameters

createType
CodeTypeReference

A CodeTypeReference indicating the data type of the array to create.

size
CodeExpression

An expression that indicates the number of indexes of the array to create.

Applies to

CodeArrayCreateExpression(CodeTypeReference, CodeExpression[])

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and initialization expressions.

public:
 CodeArrayCreateExpression(System::CodeDom::CodeTypeReference ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ initializers);
public CodeArrayCreateExpression (System.CodeDom.CodeTypeReference createType, params System.CodeDom.CodeExpression[] initializers);
new System.CodeDom.CodeArrayCreateExpression : System.CodeDom.CodeTypeReference * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As CodeTypeReference, ParamArray initializers As CodeExpression())

Parameters

createType
CodeTypeReference

A CodeTypeReference that indicates the data type of the array to create.

initializers
CodeExpression[]

An array of expressions to use to initialize the array.

Applies to

CodeArrayCreateExpression(CodeTypeReference, Int32)

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and number of indexes for the array.

public:
 CodeArrayCreateExpression(System::CodeDom::CodeTypeReference ^ createType, int size);
public CodeArrayCreateExpression (System.CodeDom.CodeTypeReference createType, int size);
new System.CodeDom.CodeArrayCreateExpression : System.CodeDom.CodeTypeReference * int -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As CodeTypeReference, size As Integer)

Parameters

createType
CodeTypeReference

A CodeTypeReference indicating the data type of the array to create.

size
Int32

The number of indexes of the array to create.

Applies to

CodeArrayCreateExpression(String, CodeExpression)

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type name and code expression indicating the number of indexes for the array.

public:
 CodeArrayCreateExpression(System::String ^ createType, System::CodeDom::CodeExpression ^ size);
public CodeArrayCreateExpression (string createType, System.CodeDom.CodeExpression size);
new System.CodeDom.CodeArrayCreateExpression : string * System.CodeDom.CodeExpression -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As String, size As CodeExpression)

Parameters

createType
String

The name of the data type of the array to create.

size
CodeExpression

An expression that indicates the number of indexes of the array to create.

Applies to

CodeArrayCreateExpression(String, CodeExpression[])

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type name and initializers.

public:
 CodeArrayCreateExpression(System::String ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ initializers);
public CodeArrayCreateExpression (string createType, params System.CodeDom.CodeExpression[] initializers);
new System.CodeDom.CodeArrayCreateExpression : string * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As String, ParamArray initializers As CodeExpression())

Parameters

createType
String

The name of the data type of the array to create.

initializers
CodeExpression[]

An array of expressions to use to initialize the array.

Applies to

CodeArrayCreateExpression(String, Int32)

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type name and number of indexes for the array.

public:
 CodeArrayCreateExpression(System::String ^ createType, int size);
public CodeArrayCreateExpression (string createType, int size);
new System.CodeDom.CodeArrayCreateExpression : string * int -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As String, size As Integer)

Parameters

createType
String

The name of the data type of the array to create.

size
Int32

The number of indexes of the array to create.

Applies to

CodeArrayCreateExpression(Type, CodeExpression)

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and code expression indicating the number of indexes for the array.

public:
 CodeArrayCreateExpression(Type ^ createType, System::CodeDom::CodeExpression ^ size);
public CodeArrayCreateExpression (Type createType, System.CodeDom.CodeExpression size);
new System.CodeDom.CodeArrayCreateExpression : Type * System.CodeDom.CodeExpression -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As Type, size As CodeExpression)

Parameters

createType
Type

The data type of the array to create.

size
CodeExpression

An expression that indicates the number of indexes of the array to create.

Applies to

CodeArrayCreateExpression(Type, CodeExpression[])

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and initializers.

public:
 CodeArrayCreateExpression(Type ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ initializers);
public CodeArrayCreateExpression (Type createType, params System.CodeDom.CodeExpression[] initializers);
new System.CodeDom.CodeArrayCreateExpression : Type * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As Type, ParamArray initializers As CodeExpression())

Parameters

createType
Type

The data type of the array to create.

initializers
CodeExpression[]

An array of expressions to use to initialize the array.

Applies to

CodeArrayCreateExpression(Type, Int32)

Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs
Source:
CodeArrayCreateExpression.cs

Initializes a new instance of the CodeArrayCreateExpression class using the specified array data type and number of indexes for the array.

public:
 CodeArrayCreateExpression(Type ^ createType, int size);
public CodeArrayCreateExpression (Type createType, int size);
new System.CodeDom.CodeArrayCreateExpression : Type * int -> System.CodeDom.CodeArrayCreateExpression
Public Sub New (createType As Type, size As Integer)

Parameters

createType
Type

The data type of the array to create.

size
Int32

The number of indexes of the array to create.

Applies to