Click or drag to resize
Sandcastle Help File BuilderReferenceItemCollection Class
This collection class is used to hold the reference items for a project
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionReferenceItem
    System.ComponentModelBindingListReferenceItem
      SandcastleBuilder.UtilsReferenceItemCollection

Namespace: SandcastleBuilder.Utils
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax
public class ReferenceItemCollection : BindingList<ReferenceItem>

The ReferenceItemCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd (Inherited from CollectionReferenceItem.)
Public methodAddNew
Adds a new item to the collection.
(Inherited from BindingListReferenceItem.)
Protected methodAddNewCore
Adds a new item to the end of the collection.
(Inherited from BindingListReferenceItem.)
Public methodAddProjectReference
Add a new project reference item to the collection
Public methodAddReference
Add a new GAC or file reference item to the collection
Protected methodApplySortCore
Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.
(Inherited from BindingListReferenceItem.)
Public methodCancelNew
Discards a pending new item.
(Inherited from BindingListReferenceItem.)
Public methodClear (Inherited from CollectionReferenceItem.)
Protected methodClearItems
Removes all elements from the collection.
(Inherited from BindingListReferenceItem.)
Public methodContains (Inherited from CollectionReferenceItem.)
Public methodCopyTo (Inherited from CollectionReferenceItem.)
Public methodEndNew
Commits a pending new item to the collection.
(Inherited from BindingListReferenceItem.)
Public methodEnsureCurrent
This is used to ensure that the collection has up to date information about the reference build items in the project.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFindCore
Searches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException.
(Inherited from BindingListReferenceItem.)
Public methodGetEnumerator (Inherited from CollectionReferenceItem.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionReferenceItem.)
Public methodInsert (Inherited from CollectionReferenceItem.)
Protected methodInsertItem
Inserts the specified item in the list at the specified index.
(Inherited from BindingListReferenceItem.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddingNew
Raises the AddingNew event.
(Inherited from BindingListReferenceItem.)
Protected methodOnListChanged
This is overridden to suppress the event when loading references
(Overrides BindingListTOnListChanged(ListChangedEventArgs).)
Public methodRemove (Inherited from CollectionReferenceItem.)
Public methodRemoveAt (Inherited from CollectionReferenceItem.)
Protected methodRemoveItem
Remove an item from the collection and from the project file
(Overrides BindingListTRemoveItem(Int32).)
Protected methodRemoveSortCore
Removes any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.
(Inherited from BindingListReferenceItem.)
Public methodResetBindings
Raises a ListChanged event of type Reset.
(Inherited from BindingListReferenceItem.)
Public methodResetItem
Raises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingListReferenceItem.)
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Inherited from BindingListReferenceItem.)
Public methodSort
This is used to sort the collection in ascending order.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyAllowEdit
Gets or sets a value indicating whether items in the list can be edited.
(Inherited from BindingListReferenceItem.)
Public propertyAllowNew
Gets or sets a value indicating whether you can add items to the list using the AddNew method.
(Inherited from BindingListReferenceItem.)
Public propertyAllowRemove
Gets or sets a value indicating whether you can remove items from the collection.
(Inherited from BindingListReferenceItem.)
Public propertyCount (Inherited from CollectionReferenceItem.)
Protected propertyIsSortedCore
Gets a value indicating whether the list is sorted.
(Inherited from BindingListReferenceItem.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionReferenceItem.)
Protected propertyItems (Inherited from CollectionReferenceItem.)
Public propertyRaiseListChangedEvents
Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.
(Inherited from BindingListReferenceItem.)
Protected propertySortDirectionCore
Gets the direction the list is sorted.
(Inherited from BindingListReferenceItem.)
Protected propertySortPropertyCore
Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns null.
(Inherited from BindingListReferenceItem.)
Protected propertySupportsChangeNotificationCore
Gets a value indicating whether ListChanged events are enabled.
(Inherited from BindingListReferenceItem.)
Protected propertySupportsSearchingCore
Gets a value indicating whether the list supports searching.
(Inherited from BindingListReferenceItem.)
Protected propertySupportsSortingCore
Gets a value indicating whether the list supports sorting.
(Inherited from BindingListReferenceItem.)
Top
Events
  NameDescription
Public eventAddingNew
Occurs before an item is added to the list.
(Inherited from BindingListReferenceItem.)
Public eventListChanged
Occurs when the list or an item in the list changes.
(Inherited from BindingListReferenceItem.)
Top
See Also