Share via


ContextCollection.GetContext Method

Retrieves the context with the specified name.

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

Syntax

'Declaration
Function GetContext ( _
    context As String _
) As Context
'Usage
Dim instance As ContextCollection
Dim context As String
Dim returnValue As Context

returnValue = instance.GetContext(context)
Context GetContext(
    string context
)

Parameters

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.Context
The Context if one with the specified name exists in the collection, [null] otherwise

See Also

Reference

ContextCollection Interface

ContextCollection Members

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