Search Results for

    Show / Hide Table of Contents

    Class FieldValueCollection

    Collection of 'special' field values

    Inheritance
    System.Object
    FieldValueCollection
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public sealed class FieldValueCollection : object, IFieldValueCollection

    Constructors

    FieldValueCollection()

    Default constructor

    Declaration
    public FieldValueCollection()

    FieldValueCollection(IEnumerable<IFieldValue>)

    Default constructor taking in a collection of IFieldValue objects

    Declaration
    public FieldValueCollection(IEnumerable<IFieldValue> fieldValues)
    Parameters
    IEnumerable<IFieldValue> fieldValues

    Collection of IFieldValue objects

    Properties

    Values

    Values in the collection

    Declaration
    public ObservableCollection<IFieldValue> Values { get; }
    Property Value
    ObservableCollection<IFieldValue>

    Implements
    IFieldValueCollection.Values

    Methods

    RemoveLookupValue(Int32)

    Removes IFieldLookupValue from the collection if found

    Declaration
    public void RemoveLookupValue(int lookupId)
    Parameters
    System.Int32 lookupId

    Id of the IFieldLookupValue to remove

    Implements
    IFieldValueCollection.RemoveLookupValue(Int32)

    RemoveTaxonomyFieldValue(Guid)

    Removes IFieldTaxonomyValue from the collection if found

    Declaration
    public void RemoveTaxonomyFieldValue(Guid termId)
    Parameters
    Guid termId

    Id of the IFieldTaxonomyValue to remove

    Implements
    IFieldValueCollection.RemoveTaxonomyFieldValue(Guid)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer