次の方法で共有


SyntaxFactory.SimpleArgument Method

Definition

Overloads

SimpleArgument(ExpressionSyntax)

Represents an argument that is just an optional argument name and an expression.

SimpleArgument(NameColonEqualsSyntax, ExpressionSyntax)

Represents an argument that is just an optional argument name and an expression.

SimpleArgument(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 an argument that is just an optional argument name and an expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleArgumentSyntax ^ SimpleArgument(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleArgumentSyntax SimpleArgument (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member SimpleArgument : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleArgumentSyntax
Public Shared Function SimpleArgument (expression As ExpressionSyntax) As SimpleArgumentSyntax

Parameters

expression
ExpressionSyntax

The expression that is the argument.

Returns

Applies to

SimpleArgument(NameColonEqualsSyntax, 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 an argument that is just an optional argument name and an expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleArgumentSyntax ^ SimpleArgument(Microsoft::CodeAnalysis::VisualBasic::Syntax::NameColonEqualsSyntax ^ nameColonEquals, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleArgumentSyntax SimpleArgument (Microsoft.CodeAnalysis.VisualBasic.Syntax.NameColonEqualsSyntax nameColonEquals, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member SimpleArgument : Microsoft.CodeAnalysis.VisualBasic.Syntax.NameColonEqualsSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleArgumentSyntax
Public Shared Function SimpleArgument (nameColonEquals As NameColonEqualsSyntax, expression As ExpressionSyntax) As SimpleArgumentSyntax

Parameters

nameColonEquals
NameColonEqualsSyntax

The optional name and ":=" prefix of a named argument.

expression
ExpressionSyntax

The expression that is the argument.

Returns

Applies to