Share via


GraphNodeIdPropertyDescriptor.ShouldSerializeValue Method

Determines a value indicating whether the value of this property has to be persisted.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.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: Object

    The component with the property to be examined for persistence.

Return Value

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

.NET Framework Security

See Also

Reference

GraphNodeIdPropertyDescriptor Class

Microsoft.VisualStudio.GraphModel Namespace