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
component
Type: System.ObjectNot used.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.