共用方式為


MethodBlockSyntax.SubOrFunctionStatement 屬性

定義

開始區塊的 「Sub」 或 「Function」 語句。

public:
 property Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodStatementSyntax ^ SubOrFunctionStatement { Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodStatementSyntax ^ get(); };
public Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax SubOrFunctionStatement { get; }
member this.SubOrFunctionStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax
Public ReadOnly Property SubOrFunctionStatement As MethodStatementSyntax

屬性值

適用於