CategoryCollection members

Represents a collection of Category objects.

The CategoryCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of Category objects in the collection.
Public property Item[Guid] Gets the category with the specified GUID from the collection of categories.
Public property Item[String] Gets the category with the specified name from the collection of categories.

Top

Methods

  Name Description
Public method Contains(Guid) Returns a Boolean value that indicates whether the collection of categories contains the Category object with the specified property set.
Public method Contains(String) Returns a Boolean value that indicates whether the collection of categories contains the Category object with the specified name.
Public method Create Adds a new category to the category collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the categories in the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through the categories in the collection.

Top

See also

Reference

CategoryCollection class

Microsoft.Office.Server.Search.Administration namespace