Partager via


SyntaxFactory.Attribute Méthode

Définition

Surcharges

Attribute(NameSyntax)

Crée une instance AttributeSyntax.

Attribute(NameSyntax, AttributeArgumentListSyntax)

Crée une instance AttributeSyntax.

Attribute(NameSyntax)

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
Source:
Syntax.xml.Main.Generated.cs

Crée une instance AttributeSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::AttributeSyntax ^ Attribute(Microsoft::CodeAnalysis::CSharp::Syntax::NameSyntax ^ name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax Attribute (Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name);
static member Attribute : Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax
Public Shared Function Attribute (name As NameSyntax) As AttributeSyntax

Paramètres

name
NameSyntax

Retours

S’applique à

Attribute(NameSyntax, AttributeArgumentListSyntax)

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
Source:
Syntax.xml.Main.Generated.cs

Crée une instance AttributeSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::AttributeSyntax ^ Attribute(Microsoft::CodeAnalysis::CSharp::Syntax::NameSyntax ^ name, Microsoft::CodeAnalysis::CSharp::Syntax::AttributeArgumentListSyntax ^ argumentList);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax Attribute (Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentListSyntax argumentList);
public static Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax Attribute (Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name, Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentListSyntax? argumentList);
static member Attribute : Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.AttributeArgumentListSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeSyntax
Public Shared Function Attribute (name As NameSyntax, argumentList As AttributeArgumentListSyntax) As AttributeSyntax

Paramètres

name
NameSyntax

Retours

S’applique à