次の方法で共有


PropertyManager クラス

オブジェクトのプロパティとデータ連結コントロールのプロパティとの間の Binding を維持します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

構文

'宣言
Public Class PropertyManager
    Inherits BindingManagerBase
'使用
Dim instance As PropertyManager
public class PropertyManager : BindingManagerBase
public ref class PropertyManager : public BindingManagerBase
public class PropertyManager extends BindingManagerBase
public class PropertyManager extends BindingManagerBase

解説

PropertyManagerBindingManagerBase から継承し、リスト内の現在のオブジェクトのプロパティではなく、オブジェクトの現在のプロパティを維持するために使用されます。このため、PropertyManager に対する Position プロパティまたは Count プロパティの設定は無効です。同様に、追加先または削除元となるデータのリストが存在しないため、AddNew メソッドや RemoveAt メソッドはサポートされません。さらに、PropertyManager にデータ ソースがある場合、IsBindingSuspended を呼び出すと、SuspendBinding が呼び出されたかどうかにかかわらず、常に false が返されます。

継承階層

System.Object
   System.Windows.Forms.BindingManagerBase
    System.Windows.Forms.PropertyManager

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

.NET Compact Framework

サポート対象 : 2.0、1.0

参照

関連項目

PropertyManager メンバ
System.Windows.Forms 名前空間