SyntaxFactory.AttributeList 方法

定义

重载

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

参数

返回

适用于

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

参数

返回

适用于

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
closeBracketToken
SyntaxToken

返回

适用于