Determines whether or not the property's value should be persisted.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.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
Parameters
component
Type: System.ObjectThe component that owns the property.
Return Value
Type: System.Boolean
true if the property should be persisted, otherwise false.
Remarks
This method calls the base method.
.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