Share via


ContextCollection.AddContext Method (String, String)

Adds a context with the specified name and description to the collection.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function AddContext ( _
    context As String, _
    description As String _
) As Context
'Usage
Dim instance As ContextCollection
Dim context As String
Dim description As String
Dim returnValue As Context

returnValue = instance.AddContext(context, _
    description)
Context AddContext(
    string context,
    string description
)

Parameters

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.Context
A Context object representing the added context.

See Also

Reference

ContextCollection Interface

ContextCollection Members

AddContext Overload

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace