다음을 통해 공유


SyntaxFactory.FunctionBlock 메서드

정의

오버로드

FunctionBlock(MethodStatementSyntax)

함수 또는 하위 블록 선언을 나타냅니다. 시작 선언, 실행 문 본문 및 end 문이 있는 선언입니다.

FunctionBlock(MethodStatementSyntax, SyntaxList<StatementSyntax>)

함수 또는 하위 블록 선언을 나타냅니다. 시작 선언, 실행 문 본문 및 end 문이 있는 선언입니다.

FunctionBlock(MethodStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

함수 또는 하위 블록 선언을 나타냅니다. 시작 선언, 실행 문 본문 및 end 문이 있는 선언입니다.

FunctionBlock(MethodStatementSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

함수 또는 하위 블록 선언을 나타냅니다. 시작 선언, 실행 문 본문 및 end 문이 있는 선언입니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBlockSyntax ^ FunctionBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodStatementSyntax ^ subOrFunctionStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockSyntax FunctionBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax subOrFunctionStatement);
static member FunctionBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockSyntax
Public Shared Function FunctionBlock (subOrFunctionStatement As MethodStatementSyntax) As MethodBlockSyntax

매개 변수

subOrFunctionStatement
MethodStatementSyntax

블록을 시작하는 "Sub" 또는 "Function" 문입니다.

반환

적용 대상

FunctionBlock(MethodStatementSyntax, SyntaxList<StatementSyntax>)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

함수 또는 하위 블록 선언을 나타냅니다. 시작 선언, 실행 문 본문 및 end 문이 있는 선언입니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBlockSyntax ^ FunctionBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodStatementSyntax ^ subOrFunctionStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockSyntax FunctionBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax subOrFunctionStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member FunctionBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockSyntax
Public Shared Function FunctionBlock (subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As MethodBlockSyntax

매개 변수

subOrFunctionStatement
MethodStatementSyntax

블록을 시작하는 "Sub" 또는 "Function" 문입니다.

statements
SyntaxList<StatementSyntax>

block 문에 포함된 문입니다. 빈 목록일 수 있습니다.

반환

적용 대상

FunctionBlock(MethodStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

함수 또는 하위 블록 선언을 나타냅니다. 시작 선언, 실행 문 본문 및 end 문이 있는 선언입니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodBlockSyntax ^ FunctionBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::MethodStatementSyntax ^ subOrFunctionStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSubOrFunctionStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockSyntax FunctionBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax subOrFunctionStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSubOrFunctionStatement);
static member FunctionBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MethodBlockSyntax
Public Shared Function FunctionBlock (subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(Of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As MethodBlockSyntax

매개 변수

subOrFunctionStatement
MethodStatementSyntax

블록을 시작하는 "Sub" 또는 "Function" 문입니다.

statements
SyntaxList<StatementSyntax>

block 문에 포함된 문입니다. 빈 목록일 수 있습니다.

endSubOrFunctionStatement
EndBlockStatementSyntax

블록을 종료하는 "End Sub" 또는 "End Function" 문입니다.

반환

적용 대상