Share via


TaxonomyFieldValueCollection.PopulateFromLabelGuidPairs method

This method adds TaxonomyFieldValue's based on the parsing of the text

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

Syntax

'Declaration
Public Sub PopulateFromLabelGuidPairs ( _
    text As String _
)
'Usage
Dim instance As TaxonomyFieldValueCollection
Dim text As String

instance.PopulateFromLabelGuidPairs(text)
public void PopulateFromLabelGuidPairs(
    string text
)

Parameters

Remarks

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's will be set to -1.

See also

Reference

TaxonomyFieldValueCollection class

TaxonomyFieldValueCollection members

Microsoft.SharePoint.Taxonomy namespace