共用方式為


AccessorBlockSyntax.WithEnd(EndBlockStatementSyntax) 方法

定義

警告

This member is obsolete. Use WithEndAccessorStatement instead.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^ WithEnd(Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ end);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete. Use WithEndAccessorStatement instead.", true)]
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax WithEnd (Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax end);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This member is obsolete. Use WithEndAccessorStatement instead.", true)>]
override this.WithEnd : Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax
Public Function WithEnd (end As EndBlockStatementSyntax) As AccessorBlockSyntax

參數

傳回

屬性

適用於