Partager via


SyntaxGenerator.ParameterDeclaration Méthode

Définition

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

initializer
SyntaxNode

Retours

S’applique à