Share via


SPDataSourceViewPropertyDescriptor.ShouldSerializeValue method

Returns a Boolean value that indicates whether the value of this property needs to be persisted.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Function ShouldSerializeValue ( _
    component As Object _
) As Boolean
'Usage
Dim instance As SPDataSourceViewPropertyDescriptor
Dim component As Object
Dim returnValue As Boolean

returnValue = instance.ShouldSerializeValue(component)
public override bool ShouldSerializeValue(
    Object component
)

Parameters

  • component
    Type: System.Object

    The component with the property to be examined for persistence.

Return value

Type: System.Boolean
true

See also

Reference

SPDataSourceViewPropertyDescriptor class

SPDataSourceViewPropertyDescriptor members

Microsoft.SharePoint.WebControls namespace