ContextCollection.ContainsContext Method
Checks if the context with the specified name is contained in 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 ContainsContext ( _
context As String _
) As Boolean
'Usage
Dim instance As ContextCollection
Dim context As String
Dim returnValue As Boolean
returnValue = instance.ContainsContext(context)
bool ContainsContext(
string context
)
Parameters
context
Type: System.StringThe context name.
Return Value
Type: System.Boolean
[true] if the collection contains a context with the specified name, [false] otherwise.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace