SyntaxGenerator.AttributeArgument Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.