SyntaxFactory.SyncLockStatement 方法

定义

重载

SyncLockStatement(ExpressionSyntax)

表示“SyncLock”语句。 此语句始终作为 SyncLockBlock 的 Begin 发生。

SyncLockStatement(SyntaxToken, ExpressionSyntax)

表示“SyncLock”语句。 此语句始终作为 SyncLockBlock 的 Begin 发生。

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
Source:
Syntax.xml.Main.Generated.vb

表示“SyncLock”语句。 此语句始终作为 SyncLockBlock 的 Begin 发生。

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

参数

expression
ExpressionSyntax

正在同步的表达式。

返回

适用于

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
Source:
Syntax.xml.Main.Generated.vb

表示“SyncLock”语句。 此语句始终作为 SyncLockBlock 的 Begin 发生。

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

参数

syncLockKeyword
SyntaxToken

“SyncLock”关键字。

expression
ExpressionSyntax

正在同步的表达式。

返回

适用于