SyntaxFactory.SyncLockBlock Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SyncLockBlock(SyncLockStatementSyntax) |
Represents a entire SyncLock...End SyncLock block, including the SyncLock statement, the enclosed statements, and the End SyncLock statement. |
SyncLockBlock(SyncLockStatementSyntax, SyntaxList<StatementSyntax>) |
Represents a entire SyncLock...End SyncLock block, including the SyncLock statement, the enclosed statements, and the End SyncLock statement. |
SyncLockBlock(SyncLockStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax) |
Represents a entire SyncLock...End SyncLock block, including the SyncLock statement, the enclosed statements, and the End SyncLock statement. |
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
Represents a entire SyncLock...End SyncLock block, including the SyncLock statement, the enclosed statements, and the End SyncLock statement.
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
Parameters
- syncLockStatement
- SyncLockStatementSyntax
The SyncLock statement that begins the block.
Returns
Applies to
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
Represents a entire SyncLock...End SyncLock block, including the SyncLock statement, the enclosed statements, and the End SyncLock statement.
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
Parameters
- syncLockStatement
- SyncLockStatementSyntax
The SyncLock statement that begins the block.
- statements
- SyntaxList<StatementSyntax>
The statements contained in the SyncLock...End SyncLock statement. This might be an empty list.
Returns
Applies to
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
Represents a entire SyncLock...End SyncLock block, including the SyncLock statement, the enclosed statements, and the End SyncLock statement.
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
Parameters
- syncLockStatement
- SyncLockStatementSyntax
The SyncLock statement that begins the block.
- statements
- SyntaxList<StatementSyntax>
The statements contained in the SyncLock...End SyncLock statement. This might be an empty list.
- endSyncLockStatement
- EndBlockStatementSyntax
The End SyncLock statement that ends the block.