Share via


Helper.FindValue - Méthode (WorkflowContext, Guid, String, Object)

Recherche un élément dans une liste qui contient une valeur de champ qui correspond à la valeur spécifiée.

Espace de noms :  Microsoft.SharePoint.WorkflowActions
Assembly :  Microsoft.SharePoint.WorkflowActions (dans Microsoft.SharePoint.WorkflowActions.dll)

Syntaxe

'Déclaration
Public Shared Function FindValue ( _
    context As WorkflowContext, _
    externalListId As Guid, _
    fieldNameInExternal As String, _
    value As Object _
) As Integer
'Utilisation
Dim context As WorkflowContext
Dim externalListId As Guid
Dim fieldNameInExternal As String
Dim value As Object
Dim returnValue As Integer

returnValue = Helper.FindValue(context, _
    externalListId, fieldNameInExternal, _
    value)
public static int FindValue(
    WorkflowContext context,
    Guid externalListId,
    string fieldNameInExternal,
    Object value
)

Paramètres

  • externalListId
    Type : System.Guid

    Le GUID de l'identificateur (ID) de la liste externe.

  • fieldNameInExternal
    Type : System.String

    Une chaîne qui représente le nom du champ dans la liste externe.

  • value
    Type : System.Object

    Un objet qui contient la valeur du champ à rechercher dans la liste externe.

Valeur renvoyée

Type : System.Int32
L'élément de liste externe dans laquelle la valeur correspondante est trouvée.

Voir aussi

Référence

Helper classe

Helper - Membres

FindValue - Surcharge

Microsoft.SharePoint.WorkflowActions - Espace de noms