Share via


DataViewPropertyDescriptor.ShouldSerializeValue Method

Indicates whether the property value of the specified component should be serialized.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overrides Function ShouldSerializeValue ( _
    component As Object _
) As Boolean
public override bool ShouldSerializeValue(
    Object component
)
public:
virtual bool ShouldSerializeValue(
    Object^ component
) override
abstract ShouldSerializeValue : 
        component:Object -> bool  
override ShouldSerializeValue : 
        component:Object -> bool
public override function ShouldSerializeValue(
    component : Object
) : boolean

Parameters

  • component
    Type: System.Object

    The component with the property to be examined for persistence.

Return Value

Type: System.Boolean
true if the property should be persisted; otherwise, false.

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

Microsoft.VisualStudio.Data.Framework Namespace