Edit

Share via


CodeIndexerExpression Constructors

Definition

Initializes a new instance of the CodeIndexerExpression class.

Overloads

CodeIndexerExpression()

Initializes a new instance of the CodeIndexerExpression class.

CodeIndexerExpression(CodeExpression, CodeExpression[])

Initializes a new instance of the CodeIndexerExpression class using the specified target object and index.

CodeIndexerExpression()

Source:
CodeIndexerExpression.cs
Source:
CodeIndexerExpression.cs

Initializes a new instance of the CodeIndexerExpression class.

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

Applies to

CodeIndexerExpression(CodeExpression, CodeExpression[])

Source:
CodeIndexerExpression.cs
Source:
CodeIndexerExpression.cs

Initializes a new instance of the CodeIndexerExpression class using the specified target object and index.

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

Parameters

targetObject
CodeExpression

The target object.

indices
CodeExpression[]

The index or indexes of the indexer expression.

See also

Applies to