TopicCollection Methods |
The TopicCollection type exposes the following members.
Name | Description | |
---|---|---|
Add | Adds an object to the end of the CollectionT. (Inherited from CollectionTopic.) | |
AddNew | Adds a new item to the collection. (Inherited from BindingListTopic.) | |
AddNewCore | Adds a new item to the end of the collection. (Inherited from BindingListTopic.) | |
AddTopicsFromFolder |
Add all topics from the specified folder recursively to the
collection and to the given project file.
| |
All |
This is used to enumerate all topics recursively
| |
ApplySortCore | Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException. (Inherited from BindingListTopic.) | |
CancelNew | Discards a pending new item. (Inherited from BindingListTopic.) | |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionTopic.) | |
ClearItems | Removes all elements from the collection. (Inherited from BindingListTopic.) | |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionTopic.) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionTopic.) | |
EndNew | Commits a pending new item to the collection. (Inherited from BindingListTopic.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find |
This is used to find all topics and sub-topics that match the specified predicate recursively
| |
FindCore | 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 BindingListTopic.) | |
GenerateConceptualTopics |
This creates copies of the conceptual topic files in the build
process's working folder.
| |
GenerateTableOfContents |
Generate the table of contents for the conceptual topics
| |
GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionTopic.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionTopic.) | |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionTopic.) | |
InsertItem |
This is overridden to set the inserted item's parent to this
collection.
(Overrides BindingListTInsertItem(Int32, T).) | |
Load |
Load the collection from the related file
| |
MatchProjectFilesToTopics |
This gets all possible content files from the project and attempts
to match them to the topics in the collection by ID.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAddingNew | Raises the AddingNew event. (Inherited from BindingListTopic.) | |
OnListChanged | Raises the ListChanged event. (Inherited from BindingListTopic.) | |
Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionTopic.) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionTopic.) | |
RemoveItem |
This is overridden to clear the parent on the removed item
(Overrides BindingListTRemoveItem(Int32).) | |
RemoveSortCore | Removes any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException. (Inherited from BindingListTopic.) | |
ResetBindings | Raises a ListChanged event of type Reset. (Inherited from BindingListTopic.) | |
ResetItem | Raises a ListChanged event of type ItemChanged for the item at the specified position. (Inherited from BindingListTopic.) | |
Save |
Save the topic collection to the related content layout file
| |
SetItem |
This is overridden to set the inserted item's parent to this
collection.
(Overrides BindingListTSetItem(Int32, T).) | |
Sort |
This is used to sort the collection
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |