共用方式為


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

傳回

適用於