Partager via


ManagedPropertyCustomFilter.IsValidValueReference Method

Determines whether the specified value reference is valid.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Shared Function IsValidValueReference ( _
    valueReference As String _
) As Boolean
'Usage
Dim valueReference As String
Dim returnValue As Boolean

returnValue = ManagedPropertyCustomFilter.IsValidValueReference(valueReference)
public static bool IsValidValueReference(
    string valueReference
)

Parameters

  • valueReference
    Type: System.String

    The value reference to validate.

Return Value

Type: System.Boolean
true if the specified value reference is valid; otherwise, false.

Remarks

The value of valueReference is valid if it is equivalent to one of the following field values: ValueReference_Absolute, or ValueReference_Relative.

See Also

Reference

ManagedPropertyCustomFilter Class

ManagedPropertyCustomFilter Members

Microsoft.Office.Server.Search.WebControls Namespace