Share via


SyntaxGenerator.InsertAttributes Method

Definition

Overloads

InsertAttributes(SyntaxNode, Int32, SyntaxNode[])

Creates a new instance of the declaration with the attributes inserted.

InsertAttributes(SyntaxNode, Int32, IEnumerable<SyntaxNode>)

Creates a new instance of the declaration with the attributes inserted.

InsertAttributes(SyntaxNode, Int32, 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 a new instance of the declaration with the attributes inserted.

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ InsertAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public Microsoft.CodeAnalysis.SyntaxNode InsertAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, params Microsoft.CodeAnalysis.SyntaxNode[] attributes);
member this.InsertAttributes : Microsoft.CodeAnalysis.SyntaxNode * int * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function InsertAttributes (declaration As SyntaxNode, index As Integer, ParamArray attributes As SyntaxNode()) As SyntaxNode

Parameters

declaration
SyntaxNode
index
Int32
attributes
SyntaxNode[]

Returns

Applies to

InsertAttributes(SyntaxNode, Int32, IEnumerable<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 a new instance of the declaration with the attributes inserted.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ InsertAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public abstract Microsoft.CodeAnalysis.SyntaxNode InsertAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> attributes);
abstract member InsertAttributes : Microsoft.CodeAnalysis.SyntaxNode * int * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function InsertAttributes (declaration As SyntaxNode, index As Integer, attributes As IEnumerable(Of SyntaxNode)) As SyntaxNode

Parameters

declaration
SyntaxNode
index
Int32
attributes
IEnumerable<SyntaxNode>

Returns

Applies to