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)

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

表示整个 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>)

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

表示整个 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 中包含的语句...End SyncLock 语句。 这可能是空列表。

返回

适用于

SyncLockBlock(SyncLockStatementSyntax, 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

表示整个 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 中包含的语句...End SyncLock 语句。 这可能是空列表。

endSyncLockStatement
EndBlockStatementSyntax

结束块的 End SyncLock 语句。

返回

适用于