共用方式為


MethodBlockSyntax.WithBlockStatement(MethodBaseSyntax) Method

Definition

public:
 override Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBlockBaseSyntax ^ WithBlockStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBaseSyntax ^ blockStatement);
public override Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax WithBlockStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBaseSyntax blockStatement);
override this.WithBlockStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBaseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockBaseSyntax
Public Overrides Function WithBlockStatement (blockStatement As MethodBaseSyntax) As MethodBlockBaseSyntax

Parameters

blockStatement
MethodBaseSyntax

Returns

Applies to