PropertyBlockSyntax.WithEndPropertyStatement(EndBlockStatementSyntax) Method

Definition

Returns a copy of this with the EndPropertyStatement property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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

Parameters

endPropertyStatement
EndBlockStatementSyntax

Returns

Applies to