SyntaxGenerator.FieldDeclaration Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
FieldDeclaration(IFieldSymbol, SyntaxNode) |
Crée une déclaration de champ correspondant à un symbole de champ existant. |
FieldDeclaration(String, SyntaxNode, Accessibility, DeclarationModifiers, SyntaxNode) |
Crée une déclaration de champ. |
FieldDeclaration(IFieldSymbol) |
Crée une déclaration de champ correspondant à un symbole de champ existant. |
FieldDeclaration(IFieldSymbol, 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
Crée une déclaration de champ correspondant à un symbole de champ existant.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ FieldDeclaration(Microsoft::CodeAnalysis::IFieldSymbol ^ field, Microsoft::CodeAnalysis::SyntaxNode ^ initializer);
public Microsoft.CodeAnalysis.SyntaxNode FieldDeclaration (Microsoft.CodeAnalysis.IFieldSymbol field, Microsoft.CodeAnalysis.SyntaxNode initializer);
public Microsoft.CodeAnalysis.SyntaxNode FieldDeclaration (Microsoft.CodeAnalysis.IFieldSymbol field, Microsoft.CodeAnalysis.SyntaxNode? initializer);
member this.FieldDeclaration : Microsoft.CodeAnalysis.IFieldSymbol * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public Function FieldDeclaration (field As IFieldSymbol, initializer As SyntaxNode) As SyntaxNode
Paramètres
- field
- IFieldSymbol
- initializer
- SyntaxNode
Retours
S’applique à
FieldDeclaration(String, SyntaxNode, Accessibility, DeclarationModifiers, 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
Crée une déclaration de champ.
public abstract Microsoft.CodeAnalysis.SyntaxNode FieldDeclaration (string name, Microsoft.CodeAnalysis.SyntaxNode type, Microsoft.CodeAnalysis.Accessibility accessibility = Microsoft.CodeAnalysis.Accessibility.NotApplicable, Microsoft.CodeAnalysis.Editing.DeclarationModifiers modifiers = default, Microsoft.CodeAnalysis.SyntaxNode initializer = default);
public abstract Microsoft.CodeAnalysis.SyntaxNode FieldDeclaration (string name, Microsoft.CodeAnalysis.SyntaxNode type, Microsoft.CodeAnalysis.Accessibility accessibility = Microsoft.CodeAnalysis.Accessibility.NotApplicable, Microsoft.CodeAnalysis.Editing.DeclarationModifiers modifiers = default, Microsoft.CodeAnalysis.SyntaxNode? initializer = default);
abstract member FieldDeclaration : string * Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.Accessibility * Microsoft.CodeAnalysis.Editing.DeclarationModifiers * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function FieldDeclaration (name As String, type As SyntaxNode, Optional accessibility As Accessibility = Microsoft.CodeAnalysis.Accessibility.NotApplicable, Optional modifiers As DeclarationModifiers = Nothing, Optional initializer As SyntaxNode = Nothing) As SyntaxNode
Paramètres
- name
- String
- type
- SyntaxNode
- accessibility
- Accessibility
- modifiers
- DeclarationModifiers
- initializer
- SyntaxNode
Retours
S’applique à
FieldDeclaration(IFieldSymbol)
- 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
Crée une déclaration de champ correspondant à un symbole de champ existant.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ FieldDeclaration(Microsoft::CodeAnalysis::IFieldSymbol ^ field);
public Microsoft.CodeAnalysis.SyntaxNode FieldDeclaration (Microsoft.CodeAnalysis.IFieldSymbol field);
member this.FieldDeclaration : Microsoft.CodeAnalysis.IFieldSymbol -> Microsoft.CodeAnalysis.SyntaxNode
Public Function FieldDeclaration (field As IFieldSymbol) As SyntaxNode
Paramètres
- field
- IFieldSymbol