共用方式為


DataViewPropertyDescriptor.ShouldSerializeValue 方法

指示是否應該序列化指定元件的屬性值。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
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

參數

  • component
    類型:Object

    元件,具有要檢查保存性 (Persistence) 的屬性。

傳回值

類型:Boolean
如果屬性應該要保存,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

DataViewPropertyDescriptor 類別

Microsoft.VisualStudio.Data.Framework 命名空間