PropertyExtension<TTargetElementType>.ShouldSerializeValue メソッド

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

名前空間:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
アセンブリ:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.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
    型 : System.Object
    コンポーネント (null の場合もあります)

戻り値

型 : System.Boolean
値が空でない場合は true。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

PropertyExtension<TTargetElementType> クラス

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer 名前空間