Partager via


UserPreferenceSerializeHelper.ShouldSerializeCustomString Method

Determines whether the custom string should be serialized.

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

Syntax

'Declaration
Public Function ShouldSerializeCustomString As Boolean
'Usage
Dim instance As UserPreferenceSerializeHelper
Dim returnValue As Boolean

returnValue = instance.ShouldSerializeCustomString()
public bool ShouldSerializeCustomString()

Return Value

Type: System.Boolean
true if the custom string should be serialized; otherwise, false.

Remarks

This method determines whether the value of the CustomString property is either null or an empty string.

See Also

Reference

UserPreferenceSerializeHelper Class

UserPreferenceSerializeHelper Members

Microsoft.Office.Server.Search.Administration Namespace