Partilhar via


PropertyBlockSyntax.WithEndPropertyStatement(EndBlockStatementSyntax) Método

Definição

Retorna uma cópia disso com a propriedade EndPropertyStatement alterada para o valor especificado. Retorna essa instância se o valor especificado for o mesmo que o valor atual.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::PropertyBlockSyntax ^ WithEndPropertyStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endPropertyStatement);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyBlockSyntax WithEndPropertyStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endPropertyStatement);
member this.WithEndPropertyStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.PropertyBlockSyntax
Public Function WithEndPropertyStatement (endPropertyStatement As EndBlockStatementSyntax) As PropertyBlockSyntax

Parâmetros

endPropertyStatement
EndBlockStatementSyntax

Retornos

Aplica-se a