SyntaxGenerator.Attribute 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
Attribute(String, IEnumerable<SyntaxNode>) |
Creates an attribute. |
Attribute(String, SyntaxNode[]) |
Creates an attribute. |
Attribute(SyntaxNode, IEnumerable<SyntaxNode>) |
Creates an attribute. |
Attribute(AttributeData) |
Creates an attribute matching existing attribute data. |
Attribute(String, 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
Creates an attribute.
public Microsoft.CodeAnalysis.SyntaxNode Attribute (string name, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> attributeArguments = default);
public Microsoft.CodeAnalysis.SyntaxNode Attribute (string name, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode>? attributeArguments = default);
member this.Attribute : string * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public Function Attribute (name As String, Optional attributeArguments As IEnumerable(Of SyntaxNode) = Nothing) As SyntaxNode
Parameters
- name
- String
- attributeArguments
- IEnumerable<SyntaxNode>
Returns
Applies to
Attribute(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
- Source:
- SyntaxGenerator.cs
Creates an attribute.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ Attribute(System::String ^ name, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ attributeArguments);
public Microsoft.CodeAnalysis.SyntaxNode Attribute (string name, params Microsoft.CodeAnalysis.SyntaxNode[] attributeArguments);
member this.Attribute : string * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function Attribute (name As String, ParamArray attributeArguments As SyntaxNode()) As SyntaxNode
Parameters
- name
- String
- attributeArguments
- SyntaxNode[]
Returns
Applies to
Attribute(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
Creates an attribute.
public abstract Microsoft.CodeAnalysis.SyntaxNode Attribute (Microsoft.CodeAnalysis.SyntaxNode name, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> attributeArguments = default);
public abstract Microsoft.CodeAnalysis.SyntaxNode Attribute (Microsoft.CodeAnalysis.SyntaxNode name, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode>? attributeArguments = default);
abstract member Attribute : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function Attribute (name As SyntaxNode, Optional attributeArguments As IEnumerable(Of SyntaxNode) = Nothing) As SyntaxNode
Parameters
- name
- SyntaxNode
- attributeArguments
- IEnumerable<SyntaxNode>
Returns
Applies to
Attribute(AttributeData)
- 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
Creates an attribute matching existing attribute data.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ Attribute(Microsoft::CodeAnalysis::AttributeData ^ attribute);
public Microsoft.CodeAnalysis.SyntaxNode Attribute (Microsoft.CodeAnalysis.AttributeData attribute);
member this.Attribute : Microsoft.CodeAnalysis.AttributeData -> Microsoft.CodeAnalysis.SyntaxNode
Public Function Attribute (attribute As AttributeData) As SyntaxNode
Parameters
- attribute
- AttributeData
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET