ContextCollection.AddContext Method (String)
Adds a context with the specified name 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 _
) As Context
'Usage
Dim instance As ContextCollection
Dim context As String
Dim returnValue As Context
returnValue = instance.AddContext(context)
Context AddContext(
string context
)
Parameters
context
Type: System.StringThe context name.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.Context
A Context object representing the added context.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace