Share via


AggregateContextExpression.AddMatchExpression Method (String, String)

Adds a list of key-value pairs to the aggregate node.

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

Syntax

'Declaration
Function AddMatchExpression ( _
    key As String, _
    value As String _
) As KeyValueAtomicContextExpression
'Usage
Dim instance As AggregateContextExpression
Dim key As String
Dim value As String
Dim returnValue As KeyValueAtomicContextExpression

returnValue = instance.AddMatchExpression(key, _
    value)
KeyValueAtomicContextExpression AddMatchExpression(
    string key,
    string value
)

Parameters

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.KeyValueAtomicContextExpression
The added pair as a KeyValueAtomicContextExpression.

See Also

Reference

AggregateContextExpression Interface

AggregateContextExpression Members

AddMatchExpression Overload

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