Share via


SyntaxFactory.NameOfExpression Method

Definition

Overloads

NameOfExpression(ExpressionSyntax)

Represents a NameOf expression.

NameOfExpression(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken)

Represents a NameOf expression.

NameOfExpression(ExpressionSyntax)

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 a NameOf expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::NameOfExpressionSyntax ^ NameOfExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ argument);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.NameOfExpressionSyntax NameOfExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax argument);
static member NameOfExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NameOfExpressionSyntax
Public Shared Function NameOfExpression (argument As ExpressionSyntax) As NameOfExpressionSyntax

Parameters

argument
ExpressionSyntax

The argument.

Returns

Applies to

NameOfExpression(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken)

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 a NameOf expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::NameOfExpressionSyntax ^ NameOfExpression(Microsoft::CodeAnalysis::SyntaxToken nameOfKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ argument, Microsoft::CodeAnalysis::SyntaxToken closeParenToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.NameOfExpressionSyntax NameOfExpression (Microsoft.CodeAnalysis.SyntaxToken nameOfKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax argument, Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
static member NameOfExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NameOfExpressionSyntax
Public Shared Function NameOfExpression (nameOfKeyword As SyntaxToken, openParenToken As SyntaxToken, argument As ExpressionSyntax, closeParenToken As SyntaxToken) As NameOfExpressionSyntax

Parameters

nameOfKeyword
SyntaxToken

The "NameOf" keyword.

openParenToken
SyntaxToken

The "(" token.

argument
ExpressionSyntax

The argument.

closeParenToken
SyntaxToken

The ")" token.

Returns

Applies to