共用方式為


MethodBlockSyntax.WithEnd(EndBlockStatementSyntax) Method

Definition

Caution

This member is obsolete.

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

Parameters

Returns

Attributes

Applies to