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
context
Type: System.StringThe context name.
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
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace