SyntaxGenerator.AddAttributes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddAttributes(SyntaxNode, SyntaxNode[]) |
使用添加的指定属性创建声明的新实例。 |
AddAttributes(SyntaxNode, IEnumerable<SyntaxNode>) |
使用添加的指定属性创建声明的新实例。 |
AddAttributes(SyntaxNode, 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
- Source:
- SyntaxGenerator.cs
使用添加的指定属性创建声明的新实例。
public:
Microsoft::CodeAnalysis::SyntaxNode ^ AddAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public Microsoft.CodeAnalysis.SyntaxNode AddAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, params Microsoft.CodeAnalysis.SyntaxNode[] attributes);
member this.AddAttributes : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AddAttributes (declaration As SyntaxNode, ParamArray attributes As SyntaxNode()) As SyntaxNode
参数
- declaration
- SyntaxNode
- attributes
- SyntaxNode[]
返回
适用于
AddAttributes(SyntaxNode, 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
- Source:
- SyntaxGenerator.cs
使用添加的指定属性创建声明的新实例。
public:
Microsoft::CodeAnalysis::SyntaxNode ^ AddAttributes(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributes);
public Microsoft.CodeAnalysis.SyntaxNode AddAttributes (Microsoft.CodeAnalysis.SyntaxNode declaration, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> attributes);
member this.AddAttributes : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AddAttributes (declaration As SyntaxNode, attributes As IEnumerable(Of SyntaxNode)) As SyntaxNode
参数
- declaration
- SyntaxNode
- attributes
- IEnumerable<SyntaxNode>