Share via


MethodBlockBaseSyntax.WithBegin(MethodBaseSyntax) Method

Definition

Caution

This member is obsolete. Use WithBlockStatement or a more specific property (e.g. WithSubOrFunctionStatement) instead.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBlockBaseSyntax ^ WithBegin(Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBaseSyntax ^ begin);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete. Use WithBlockStatement or a more specific property (e.g. WithSubOrFunctionStatement) instead.", true)]
public Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax WithBegin (Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBaseSyntax begin);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This member is obsolete. Use WithBlockStatement or a more specific property (e.g. WithSubOrFunctionStatement) instead.", true)>]
member this.WithBegin : Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBaseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax
Public Function WithBegin (begin As MethodBaseSyntax) As MethodBlockBaseSyntax

Parameters

Returns

Attributes

Applies to