SyntaxGenerator.ParameterDeclaration 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
ParameterDeclaration(String, SyntaxNode, SyntaxNode, RefKind) |
Crée une déclaration de paramètre. |
ParameterDeclaration(IParameterSymbol, SyntaxNode) |
Crée une déclaration de paramètre correspondant à un symbole de paramètre existant. |
ParameterDeclaration(String, SyntaxNode, SyntaxNode, RefKind)
- 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 paramètre.
public abstract Microsoft.CodeAnalysis.SyntaxNode ParameterDeclaration (string name, Microsoft.CodeAnalysis.SyntaxNode type = default, Microsoft.CodeAnalysis.SyntaxNode initializer = default, Microsoft.CodeAnalysis.RefKind refKind = Microsoft.CodeAnalysis.RefKind.None);
public Microsoft.CodeAnalysis.SyntaxNode ParameterDeclaration (string name, Microsoft.CodeAnalysis.SyntaxNode? type = default, Microsoft.CodeAnalysis.SyntaxNode? initializer = default, Microsoft.CodeAnalysis.RefKind refKind = Microsoft.CodeAnalysis.RefKind.None);
public abstract Microsoft.CodeAnalysis.SyntaxNode ParameterDeclaration (string name, Microsoft.CodeAnalysis.SyntaxNode? type = default, Microsoft.CodeAnalysis.SyntaxNode? initializer = default, Microsoft.CodeAnalysis.RefKind refKind = Microsoft.CodeAnalysis.RefKind.None);
abstract member ParameterDeclaration : string * Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.RefKind -> Microsoft.CodeAnalysis.SyntaxNode
member this.ParameterDeclaration : string * Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.RefKind -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function ParameterDeclaration (name As String, Optional type As SyntaxNode = Nothing, Optional initializer As SyntaxNode = Nothing, Optional refKind As RefKind = Microsoft.CodeAnalysis.RefKind.None) As SyntaxNode
Public Function ParameterDeclaration (name As String, Optional type As SyntaxNode = Nothing, Optional initializer As SyntaxNode = Nothing, Optional refKind As RefKind = Microsoft.CodeAnalysis.RefKind.None) As SyntaxNode
Paramètres
- name
- String
- type
- SyntaxNode
- initializer
- SyntaxNode
- refKind
- RefKind
Retours
S’applique à
ParameterDeclaration(IParameterSymbol, 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 paramètre correspondant à un symbole de paramètre existant.
public Microsoft.CodeAnalysis.SyntaxNode ParameterDeclaration (Microsoft.CodeAnalysis.IParameterSymbol symbol, Microsoft.CodeAnalysis.SyntaxNode initializer = default);
public Microsoft.CodeAnalysis.SyntaxNode ParameterDeclaration (Microsoft.CodeAnalysis.IParameterSymbol symbol, Microsoft.CodeAnalysis.SyntaxNode? initializer = default);
member this.ParameterDeclaration : Microsoft.CodeAnalysis.IParameterSymbol * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public Function ParameterDeclaration (symbol As IParameterSymbol, Optional initializer As SyntaxNode = Nothing) As SyntaxNode
Paramètres
- symbol
- IParameterSymbol
- initializer
- SyntaxNode
Retours
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.