Share via


ResultItemTypeManager.AddResultItemType method

Adds a new ResultItemType to the Search Service

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

Syntax

'Declaration
Public Function AddResultItemType ( _
    type As ResultItemType _
) As ResultItemType
'Usage
Dim instance As ResultItemTypeManager
Dim type As ResultItemType
Dim returnValue As ResultItemType

returnValue = instance.AddResultItemType(type)
public ResultItemType AddResultItemType(
    ResultItemType type
)

Parameters

Return value

Type: Microsoft.Office.Server.Search.Administration.ResultItemType

See also

Reference

ResultItemTypeManager class

ResultItemTypeManager members

Microsoft.Office.Server.Search.Administration namespace