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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。