TaxonomyFieldValueCollection Constructor (String)
Initializes a new instance of a TaxonomyFieldValueCollection that is not bound to a field.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Sub New ( _
fieldValue As String _
)
'Usage
Dim fieldValue As String
Dim instance As New TaxonomyFieldValueCollection(fieldValue)
public TaxonomyFieldValueCollection(
string fieldValue
)
Parameters
fieldValue
Type: System.StringString to parse for value
Remarks
The fieldValue must be in the SPLookup format, which requires wss Id;#Label|Guid. You can repeat this entry for multiple values by repeating the ;# characters.
This value is not bound to a field, so some methods may throw a MemberAccessException.
See Also
Reference
TaxonomyFieldValueCollection Class
TaxonomyFieldValueCollection Members