Keywords.GetFilteredKeywords Method
Returns all keywords that match the specified filter and value for the site associated with this instance of the Keywords class.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetFilteredKeywords ( _
view As KeywordView, _
filter As KeywordFilter, _
value As String _
) As KeywordCollection
'Usage
Dim instance As Keywords
Dim view As KeywordView
Dim filter As KeywordFilter
Dim value As String
Dim returnValue As KeywordCollection
returnValue = instance.GetFilteredKeywords(view, _
filter, value)
public KeywordCollection GetFilteredKeywords(
KeywordView view,
KeywordFilter filter,
string value
)
Parameters
view
Type: Microsoft.Office.Server.Search.Administration.KeywordViewA value from the KeywordView enumeration specifying the keyword status.
filter
Type: Microsoft.Office.Server.Search.Administration.KeywordFilterA value from the KeywordFilter enumeration specifying the keyword property value to filter the specified value against.
value
Type: System.StringA string specifying the value to match against the keyword filter.
Return Value
Type: Microsoft.Office.Server.Search.Administration.KeywordCollection
A KeywordCollection object representing the collection of keywords from the site that match the specified filter and value.