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

参数

返回

属性

适用于