Compartir a través de


SyntaxFactory.DeclarationPattern Método

Definición

Crea una nueva instancia de DeclarationPatternSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::DeclarationPatternSyntax ^ DeclarationPattern(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::CSharp::Syntax::VariableDesignationSyntax ^ designation);
public static Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationPatternSyntax DeclarationPattern (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax designation);
static member DeclarationPattern : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDesignationSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.DeclarationPatternSyntax
Public Shared Function DeclarationPattern (type As TypeSyntax, designation As VariableDesignationSyntax) As DeclarationPatternSyntax

Parámetros

type
TypeSyntax

Devoluciones

Se aplica a