Contact.ToContacts method (String, SPWeb)

Parses contacts from a string of XML and creates an array of Contact objects from the hash table.

Namespace:  Microsoft.Office.Workflow.Utility
Assembly:  Microsoft.Office.Workflow.Tasks (in Microsoft.Office.Workflow.Tasks.dll)

public static Contact[] ToContacts(
	string inputXml,
	SPWeb web


Type: System.String

The Contact Selector XML string, starting with the first person tag.

Type: Microsoft.SharePoint.SPWeb

The Web site to look for the users.

Return value

Type: []
An array that stores the results parsed by this method.

For an example of how to use the ToContacts method, see the example in ExpandGroups method.