Represents a category in the SharePoint Server search metadata property schema.
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
In the SharePoint Server search schema, crawled properties are grouped into different categories, representing the protocol used.
Use an indexer to return a single managed property from the CategoryCollection object.
For example, assuming the collection is assigned to a variable named categories, use categories[index] in Microsoft Visual C# or categories(index) in Microsoft Visual Basic, where index is a string containing the name of the category or a GUID identifying the property set for the category.