Partager via


MethodBlockBaseSyntax.WithBegin(MethodBaseSyntax) Méthode

Définition

Attention

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

Paramètres

Retours

Attributs

S’applique à