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.