Share via


SyntaxGenerator.AttributeArgument Method

Definition

Overloads

AttributeArgument(SyntaxNode)

Creates an attribute argument.

AttributeArgument(String, SyntaxNode)

Creates an attribute argument.

AttributeArgument(SyntaxNode)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Creates an attribute argument.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ AttributeArgument(Microsoft::CodeAnalysis::SyntaxNode ^ expression);
public Microsoft.CodeAnalysis.SyntaxNode AttributeArgument (Microsoft.CodeAnalysis.SyntaxNode expression);
member this.AttributeArgument : Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AttributeArgument (expression As SyntaxNode) As SyntaxNode

Parameters

expression
SyntaxNode

Returns

Applies to

AttributeArgument(String, SyntaxNode)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Creates an attribute argument.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ AttributeArgument(System::String ^ name, Microsoft::CodeAnalysis::SyntaxNode ^ expression);
public abstract Microsoft.CodeAnalysis.SyntaxNode AttributeArgument (string name, Microsoft.CodeAnalysis.SyntaxNode expression);
public abstract Microsoft.CodeAnalysis.SyntaxNode AttributeArgument (string? name, Microsoft.CodeAnalysis.SyntaxNode expression);
abstract member AttributeArgument : string * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function AttributeArgument (name As String, expression As SyntaxNode) As SyntaxNode

Parameters

name
String
expression
SyntaxNode

Returns

Applies to