SyntaxFactory.AttributeList 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AttributeList(SeparatedSyntaxList<AttributeSyntax>) |
创建新的 AttributeListSyntax 实例。 |
AttributeList(AttributeTargetSpecifierSyntax, SeparatedSyntaxList<AttributeSyntax>) |
创建新的 AttributeListSyntax 实例。 |
AttributeList(SyntaxToken, AttributeTargetSpecifierSyntax, SeparatedSyntaxList<AttributeSyntax>, SyntaxToken) |
创建新的 AttributeListSyntax 实例。 |
AttributeList(SeparatedSyntaxList<AttributeSyntax>)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
创建新的 AttributeListSyntax 实例。
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes = default);
static member AttributeList : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax
Public Shared Function AttributeList (Optional attributes As SeparatedSyntaxList(Of AttributeSyntax) = Nothing) As AttributeListSyntax
参数
- attributes
- SeparatedSyntaxList<AttributeSyntax>
返回
适用于
AttributeList(AttributeTargetSpecifierSyntax, SeparatedSyntaxList<AttributeSyntax>)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
创建新的 AttributeListSyntax 实例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^ AttributeList(Microsoft::CodeAnalysis::CSharp::Syntax::AttributeTargetSpecifierSyntax ^ target, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeSyntax ^> attributes);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax target, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax? target, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes);
static member AttributeList : Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax
Public Shared Function AttributeList (target As AttributeTargetSpecifierSyntax, attributes As SeparatedSyntaxList(Of AttributeSyntax)) As AttributeListSyntax
参数
- attributes
- SeparatedSyntaxList<AttributeSyntax>
返回
适用于
AttributeList(SyntaxToken, AttributeTargetSpecifierSyntax, SeparatedSyntaxList<AttributeSyntax>, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
创建新的 AttributeListSyntax 实例。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^ AttributeList(Microsoft::CodeAnalysis::SyntaxToken openBracketToken, Microsoft::CodeAnalysis::CSharp::Syntax::AttributeTargetSpecifierSyntax ^ target, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::AttributeSyntax ^> attributes, Microsoft::CodeAnalysis::SyntaxToken closeBracketToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.SyntaxToken openBracketToken, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax target, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes, Microsoft.CodeAnalysis.SyntaxToken closeBracketToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax AttributeList (Microsoft.CodeAnalysis.SyntaxToken openBracketToken, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax? target, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> attributes, Microsoft.CodeAnalysis.SyntaxToken closeBracketToken);
static member AttributeList : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax
Public Shared Function AttributeList (openBracketToken As SyntaxToken, target As AttributeTargetSpecifierSyntax, attributes As SeparatedSyntaxList(Of AttributeSyntax), closeBracketToken As SyntaxToken) As AttributeListSyntax
参数
- openBracketToken
- SyntaxToken
- attributes
- SeparatedSyntaxList<AttributeSyntax>
- closeBracketToken
- SyntaxToken