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)
Available in Sandboxed Solutions: No

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