TaxonomyFieldValueCollection Constructor (String, SPField)
Initializes a new instance of a TaxonomyFieldValueCollection that is bound to the creatingField parameter.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Sub New ( _
fieldValue As String, _
creatingField As SPField _
)
'Usage
Dim fieldValue As String
Dim creatingField As SPField
Dim instance As New TaxonomyFieldValueCollection(fieldValue, _
creatingField)
public TaxonomyFieldValueCollection(
string fieldValue,
SPField creatingField
)
Parameters
fieldValue
Type: System.StringField that this value is bound to
creatingField
Type: Microsoft.SharePoint.SPFieldString to parse for the 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