Share via


SyntaxFactory.MemberAccessExpression Method

Definition

Overloads

MemberAccessExpression(SyntaxKind, SyntaxToken, SimpleNameSyntax)

Represents member access (.name) or dictionary access (!name). The Kind property determines which kind of access.

MemberAccessExpression(SyntaxKind, ExpressionSyntax, SyntaxToken, SimpleNameSyntax)

Represents member access (.name) or dictionary access (!name). The Kind property determines which kind of access.

MemberAccessExpression(SyntaxKind, SyntaxToken, SimpleNameSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents member access (.name) or dictionary access (!name). The Kind property determines which kind of access.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MemberAccessExpressionSyntax ^ MemberAccessExpression(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleNameSyntax ^ name);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax MemberAccessExpression (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax name);
static member MemberAccessExpression : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax
Public Shared Function MemberAccessExpression (kind As SyntaxKind, operatorToken As SyntaxToken, name As SimpleNameSyntax) As MemberAccessExpressionSyntax

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of MemberAccessExpressionSyntax. One of SimpleMemberAccessExpression, DictionaryAccessExpression.

operatorToken
SyntaxToken

The "." or "!" token.

name
SimpleNameSyntax

The identifier after the "." or "!" token.

Returns

Applies to

MemberAccessExpression(SyntaxKind, ExpressionSyntax, SyntaxToken, SimpleNameSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents member access (.name) or dictionary access (!name). The Kind property determines which kind of access.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MemberAccessExpressionSyntax ^ MemberAccessExpression(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleNameSyntax ^ name);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax MemberAccessExpression (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax name);
static member MemberAccessExpression : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax
Public Shared Function MemberAccessExpression (kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As SyntaxToken, name As SimpleNameSyntax) As MemberAccessExpressionSyntax

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of MemberAccessExpressionSyntax. One of SimpleMemberAccessExpression, DictionaryAccessExpression.

expression
ExpressionSyntax

The expression on the left-hand-side of the "." or "!" token.

operatorToken
SyntaxToken

The "." or "!" token.

name
SimpleNameSyntax

The identifier after the "." or "!" token.

Returns

Applies to