TaxonomyFieldValueCollection.PopulateFromLabelGuidPairs method

SharePoint Online

This method adds TaxonomyFieldValue based on the parsing of the text.

Namespace:  Microsoft.SharePoint.Client.Taxonomy
Assembly:  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)

public void PopulateFromLabelGuidPairs(
	string text
)

Parameters

text
Type: System.String

Values to add as a string

Values must be added as label/Guid pairs. The format is as follows: label|Guid This can be repeated multiple times delimited by a ;. All WssId values will be set to -1.

Show: