次の方法で共有


DesignPropertyDescriptor.ShouldSerializeValue Method

Determines whether or not the property's value should be persisted.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣言
Public Overrides Function ShouldSerializeValue ( _
    component As Object _
) As Boolean
public override bool ShouldSerializeValue(
    Object component
)

Parameters

  • component
    Type: System.Object
    The 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

See Also

Reference

DesignPropertyDescriptor Class

Microsoft.VisualStudio.Shell Namespace