Condividi tramite


FieldDeclarationSyntax.WithDeclarators Metodo

Definizione

Restituisce una copia di questo oggetto con la proprietà Declarators modificata nel valore specificato. Restituisce questa istanza se il valore specificato corrisponde al valore corrente.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::FieldDeclarationSyntax ^ WithDeclarators(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::VariableDeclaratorSyntax ^> declarators);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldDeclarationSyntax WithDeclarators (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableDeclaratorSyntax> declarators);
member this.WithDeclarators : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableDeclaratorSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.FieldDeclarationSyntax
Public Function WithDeclarators (declarators As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As FieldDeclarationSyntax

Parametri

Restituisce

Si applica a