Share via


SyntaxFactory.ElementAccessExpression Method

Definition

Overloads

ElementAccessExpression(ExpressionSyntax)

Creates a new ElementAccessExpressionSyntax instance.

ElementAccessExpression(ExpressionSyntax, BracketedArgumentListSyntax)

Creates a new ElementAccessExpressionSyntax instance.

ElementAccessExpression(ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new ElementAccessExpressionSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ElementAccessExpressionSyntax ^ ElementAccessExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ElementAccessExpressionSyntax ElementAccessExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
static member ElementAccessExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ElementAccessExpressionSyntax
Public Shared Function ElementAccessExpression (expression As ExpressionSyntax) As ElementAccessExpressionSyntax

Parameters

expression
ExpressionSyntax

Returns

Applies to

ElementAccessExpression(ExpressionSyntax, BracketedArgumentListSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new ElementAccessExpressionSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ElementAccessExpressionSyntax ^ ElementAccessExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::CSharp::Syntax::BracketedArgumentListSyntax ^ argumentList);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ElementAccessExpressionSyntax ElementAccessExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.BracketedArgumentListSyntax argumentList);
static member ElementAccessExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BracketedArgumentListSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ElementAccessExpressionSyntax
Public Shared Function ElementAccessExpression (expression As ExpressionSyntax, argumentList As BracketedArgumentListSyntax) As ElementAccessExpressionSyntax

Parameters

expression
ExpressionSyntax

Returns

Applies to