Compartir a través de


AccessorBlockSyntax.WithAccessorStatement(AccessorStatementSyntax) Método

Definición

Devuelve una copia de esto con la propiedad Descriptor de accesoStatement cambiada al valor especificado. Devuelve esta instancia si el valor especificado es el mismo que el valor actual.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^ WithAccessorStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorStatementSyntax ^ accessorStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax WithAccessorStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax accessorStatement);
member this.WithAccessorStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax
Public Function WithAccessorStatement (accessorStatement As AccessorStatementSyntax) As AccessorBlockSyntax

Parámetros

accessorStatement
AccessorStatementSyntax

Devoluciones

Se aplica a