共用方式為


ShouldSerializeValue 方法

Checks whether the value of the specified property should be persisted. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Overrides Function ShouldSerializeValue ( _
    component As Object _
) As Boolean
'用途
Dim instance As LocalizablePropertyDescriptor
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
abstract ShouldSerializeValue : 
        component:Object -> bool 
override ShouldSerializeValue : 
        component:Object -> bool 
public override function ShouldSerializeValue(
    component : Object
) : boolean

參數

傳回值

型別:System. . :: . .Boolean
False in all cases. This property value should not be persisted.