共用方式為


SyntaxFactory.SyncLockBlock 方法

定義

多載

SyncLockBlock(SyncLockStatementSyntax)

代表整個 SyncLock...End SyncLock 區塊,包括 SyncLock 語句、封入語句和 End SyncLock 語句。

SyncLockBlock(SyncLockStatementSyntax, SyntaxList<StatementSyntax>)

代表整個 SyncLock...End SyncLock 區塊,包括 SyncLock 語句、封入語句和 End SyncLock 語句。

SyncLockBlock(SyncLockStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

代表整個 SyncLock...End SyncLock 區塊,包括 SyncLock 語句、封入語句和 End SyncLock 語句。

SyncLockBlock(SyncLockStatementSyntax)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

代表整個 SyncLock...End SyncLock 區塊,包括 SyncLock 語句、封入語句和 End SyncLock 語句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockBlockSyntax ^ SyncLockBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockStatementSyntax ^ syncLockStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax SyncLockBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax syncLockStatement);
static member SyncLockBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax
Public Shared Function SyncLockBlock (syncLockStatement As SyncLockStatementSyntax) As SyncLockBlockSyntax

參數

syncLockStatement
SyncLockStatementSyntax

開始區塊的 SyncLock 語句。

傳回

適用於

SyncLockBlock(SyncLockStatementSyntax, SyntaxList<StatementSyntax>)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

代表整個 SyncLock...End SyncLock 區塊,包括 SyncLock 語句、封入語句和 End SyncLock 語句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockBlockSyntax ^ SyncLockBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockStatementSyntax ^ syncLockStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax SyncLockBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax syncLockStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member SyncLockBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax
Public Shared Function SyncLockBlock (syncLockStatement As SyncLockStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As SyncLockBlockSyntax

參數

syncLockStatement
SyncLockStatementSyntax

開始區塊的 SyncLock 語句。

statements
SyntaxList<StatementSyntax>

SyncLock 中包含的語句...結束 SyncLock 語句。 這可能是空的清單。

傳回

適用於

SyncLockBlock(SyncLockStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

代表整個 SyncLock...End SyncLock 區塊,包括 SyncLock 語句、封入語句和 End SyncLock 語句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockBlockSyntax ^ SyncLockBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockStatementSyntax ^ syncLockStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endSyncLockStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax SyncLockBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax syncLockStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endSyncLockStatement);
static member SyncLockBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockBlockSyntax
Public Shared Function SyncLockBlock (syncLockStatement As SyncLockStatementSyntax, statements As SyntaxList(Of StatementSyntax), endSyncLockStatement As EndBlockStatementSyntax) As SyncLockBlockSyntax

參數

syncLockStatement
SyncLockStatementSyntax

開始區塊的 SyncLock 語句。

statements
SyntaxList<StatementSyntax>

SyncLock 中包含的語句...結束 SyncLock 語句。 這可能是空的清單。

endSyncLockStatement
EndBlockStatementSyntax

結束區塊的 End SyncLock 語句。

傳回

適用於