PropertyExtension<TTargetElementType>.ShouldSerializeValue Method

Determines whether the value of this property needs to be persisted.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.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 (can be null)

Return Value

Type: Boolean
true if the value is not empty

.NET Framework Security

See Also

Reference

PropertyExtension<TTargetElementType> Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace