Partilhar 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