Share via


IPropertyCollection Interface

Represents a collection of default values for feature properties.

Namespace:  Microsoft.VisualStudio.SharePoint.Features
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Interface IPropertyCollection _
    Inherits IList(Of IProperty), ICollection(Of IProperty),  _
    IEnumerable(Of IProperty), IEnumerable
public interface IPropertyCollection : IList<IProperty>, 
    ICollection<IProperty>, IEnumerable<IProperty>, IEnumerable

The IPropertyCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IProperty>.)
Public property IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IProperty>.)
Public property Item Gets or sets the element at the specified index. (Inherited from IList<IProperty>.)

Top

Methods

  Name Description
Public method Add() Adds a new feature property.
Public method Add(T) Adds an item to the ICollection<T>. (Inherited from ICollection<IProperty>.)
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<IProperty>.)
Public method Contains Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IProperty>.)
Public method CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IProperty>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IProperty>.)
Public method IndexOf Determines the index of a specific item in the IList<T>. (Inherited from IList<IProperty>.)
Public method Insert Inserts an item to the IList<T> at the specified index. (Inherited from IList<IProperty>.)
Public method Remove Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IProperty>.)
Public method RemoveAt Removes the IList<T> item at the specified index. (Inherited from IList<IProperty>.)

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint.Features Namespace