次の方法で共有


DesignPropertyDescriptor.ShouldSerializeValue メソッド

プロパティの値を永続化する必要があるかどうかを示す値を決定します。

名前空間 :  Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
アセンブリ :  Microsoft.VisualStudio.Data.Schema.Project (Microsoft.VisualStudio.Data.Schema.Project.dll 内)

構文

'宣言
Public Overrides Function ShouldSerializeValue ( _
    component As Object _
) As Boolean
'使用
Dim instance As DesignPropertyDescriptor
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
public override function ShouldSerializeValue(
    component : Object
) : boolean

パラメータ

  • component
    型 : System.Object
    永続性について調べる対象のプロパティを持つコンポーネント。

戻り値

型 : System.Boolean

参照

参照

DesignPropertyDescriptor クラス

DesignPropertyDescriptor メンバ

Microsoft.VisualStudio.Data.Schema.Project.Project.MPF 名前空間