PropertyBlockSyntax.WithEndPropertyStatement(EndBlockStatementSyntax) 方法

定义

返回一个副本,其中 EndPropertyStatement 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

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

参数

endPropertyStatement
EndBlockStatementSyntax

返回

适用于