Redigera

Dela via


CodeArrayIndexerExpression Constructors

Definition

Initializes a new instance of the CodeArrayIndexerExpression class.

Overloads

CodeArrayIndexerExpression()

Initializes a new instance of the CodeArrayIndexerExpression class.

CodeArrayIndexerExpression(CodeExpression, CodeExpression[])

Initializes a new instance of the CodeArrayIndexerExpression class using the specified target object and indexes.

CodeArrayIndexerExpression()

Source:
CodeArrayIndexerExpression.cs
Source:
CodeArrayIndexerExpression.cs
Source:
CodeArrayIndexerExpression.cs
Source:
CodeArrayIndexerExpression.cs

Initializes a new instance of the CodeArrayIndexerExpression class.

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

Applies to

CodeArrayIndexerExpression(CodeExpression, CodeExpression[])

Source:
CodeArrayIndexerExpression.cs
Source:
CodeArrayIndexerExpression.cs
Source:
CodeArrayIndexerExpression.cs
Source:
CodeArrayIndexerExpression.cs

Initializes a new instance of the CodeArrayIndexerExpression class using the specified target object and indexes.

public:
 CodeArrayIndexerExpression(System::CodeDom::CodeExpression ^ targetObject, ... cli::array <System::CodeDom::CodeExpression ^> ^ indices);
public CodeArrayIndexerExpression (System.CodeDom.CodeExpression targetObject, params System.CodeDom.CodeExpression[] indices);
new System.CodeDom.CodeArrayIndexerExpression : System.CodeDom.CodeExpression * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeArrayIndexerExpression
Public Sub New (targetObject As CodeExpression, ParamArray indices As CodeExpression())

Parameters

targetObject
CodeExpression

A CodeExpression that indicates the array the indexer targets.

indices
CodeExpression[]

The index or indexes to reference.

Applies to