Share via


RolePlayerPropertyDescriptor.ShouldSerializeValue Method

Indicates whether the value of the role property should be serialized.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.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

Return Value

Type: System.Boolean
false in all cases.

Remarks

The value of a role property is calculated from the links, and each link is serialized separately from the model elements.

This behavior can be overridden in a derived class.

.NET Framework Security

See Also

Reference

RolePlayerPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace