ConditionalScope - Constructeur (ClientRuntimeContext, Expression<Func<Boolean>>)
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight.Runtime (dans Microsoft.SharePoint.Client.Silverlight.Runtime.dll); Microsoft.SharePoint.Client.Phone.Runtime (dans Microsoft.SharePoint.Client.Phone.Runtime.dll) Microsoft.SharePoint.Client.Runtime (dans Microsoft.SharePoint.Client.Runtime.dll)
Syntaxe
'Déclaration
Public Sub New ( _
context As ClientRuntimeContext, _
condition As Expression(Of Func(Of Boolean)) _
)
'Utilisation
Dim context As ClientRuntimeContext
Dim condition As Expression(Of Func(Of Boolean))
Dim instance As New ConditionalScope(context, _
condition)
public ConditionalScope(
ClientRuntimeContext context,
Expression<Func<bool>> condition
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- condition
Type : System.Linq.Expressions.Expression<Func<Boolean>>