DesignPropertyDescriptor.ShouldSerializeValue Method
Determines a value indicating whether the value of this property needs to be persisted.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overrides Function ShouldSerializeValue ( _
component As Object _
) As Boolean
'Usage
Dim instance As DesignPropertyDescriptor
Dim component As Object
Dim returnValue As Boolean
returnValue = instance.ShouldSerializeValue(component)
public override bool ShouldSerializeValue(
Object component
)
public:
virtual bool ShouldSerializeValue(
Object^ component
) override
public override function ShouldSerializeValue(
component : Object
) : boolean
abstract ShouldSerializeValue :
component:Object -> bool
override ShouldSerializeValue :
component:Object -> bool
Parameters
- component
Type: System.Object
The component with the property to be examined for persistence
Return Value
Type: System.Boolean
Returns True if this property needs to be persisted; otherwise, False.
.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.
See Also
Reference
DesignPropertyDescriptor Class
DesignPropertyDescriptor Members
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace