WorkflowTemplateCollection.GetByName - Méthode
Returns the workflow template matching the name provided.
Espace de noms : Microsoft.SharePoint.Client.Workflow
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function GetByName ( _
name As String _
) As WorkflowTemplate
'Utilisation
Dim instance As WorkflowTemplateCollection
Dim name As String
Dim returnValue As WorkflowTemplate
returnValue = instance.GetByName(name)
public WorkflowTemplate GetByName(
string name
)
Paramètres
name
Type : System.StringThe name of the workflow template to retrieve.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.Workflow.WorkflowTemplate
Returns a WorkflowTemplate instance representing the return of a workflow template matching the name provided.
Remarques
It must return the WorkflowTemplate object with Name property equal to the name parameter, or null if no such WorkflowTemplate exists in the collection. All WorkflowTemplate objects in the collection must have a unique value for their Name property. It must not be une référence Null (Rien dans Visual Basic).
Voir aussi
Référence
WorkflowTemplateCollection classe