Поделиться через


MethodBlockBaseSyntax.WithBegin(MethodBaseSyntax) Метод

Определение

Внимание!

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

Параметры

Возвращаемое значение

Атрибуты

Применяется к