Share via


SyntaxFactory.SyncLockStatement Method

Definition

Overloads

SyncLockStatement(ExpressionSyntax)

Represents the "SyncLock" statement. This statement always occurs as the Begin of a SyncLockBlock.

SyncLockStatement(SyntaxToken, ExpressionSyntax)

Represents the "SyncLock" statement. This statement always occurs as the Begin of a SyncLockBlock.

SyncLockStatement(ExpressionSyntax)

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 the "SyncLock" statement. This statement always occurs as the Begin of a SyncLockBlock.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockStatementSyntax ^ SyncLockStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax SyncLockStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member SyncLockStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax
Public Shared Function SyncLockStatement (expression As ExpressionSyntax) As SyncLockStatementSyntax

Parameters

expression
ExpressionSyntax

The expression being synchronized on.

Returns

Applies to

SyncLockStatement(SyntaxToken, ExpressionSyntax)

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 the "SyncLock" statement. This statement always occurs as the Begin of a SyncLockBlock.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::SyncLockStatementSyntax ^ SyncLockStatement(Microsoft::CodeAnalysis::SyntaxToken syncLockKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax SyncLockStatement (Microsoft.CodeAnalysis.SyntaxToken syncLockKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member SyncLockStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SyncLockStatementSyntax
Public Shared Function SyncLockStatement (syncLockKeyword As SyntaxToken, expression As ExpressionSyntax) As SyncLockStatementSyntax

Parameters

syncLockKeyword
SyntaxToken

The "SyncLock" keyword.

expression
ExpressionSyntax

The expression being synchronized on.

Returns

Applies to