共用方式為


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

參數

傳回

屬性

適用於