Share via


CategoryCollection.Item property (String)

Gets the category with the specified name from the collection of categories.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Category
    Get
'Usage
Dim instance As CategoryCollection
Dim name As String
Dim value As Category

value = instance(name)
public Category this[
    string name
] { get; }

Parameters

Property value

Type: Microsoft.Office.Server.Search.Administration.Category
A Category object that represents the category.

See also

Reference

CategoryCollection class

CategoryCollection members

Item overload

Microsoft.Office.Server.Search.Administration namespace