Class FieldValueCollection
Collection of 'special' field values
Namespace: PnP.Core.Model.SharePoint
Assembly: PnP.Core.dll
Syntax
public sealed class FieldValueCollection : object, IFieldValueCollection
Collection of 'special' field values
public sealed class FieldValueCollection : object, IFieldValueCollection
Default constructor
public FieldValueCollection()
Default constructor taking in a collection of IFieldValue objects
public FieldValueCollection(IEnumerable<IFieldValue> fieldValues)
IEnumerable<IFieldValue>
fieldValues
Collection of IFieldValue objects |
Values in the collection
public ObservableCollection<IFieldValue> Values { get; }
ObservableCollection<IFieldValue>
|
Removes IFieldLookupValue from the collection if found
public void RemoveLookupValue(int lookupId)
Int32
lookupId
Id of the IFieldLookupValue to remove |
Removes IFieldTaxonomyValue from the collection if found
public void RemoveTaxonomyFieldValue(Guid termId)
Guid
termId
Id of the IFieldTaxonomyValue to remove |