Scheduler for UWP/WinRT
IndexMapping プロパティ

BasePersistableObject.Index プロパティの MappingInfo オブジェクトを返します。ストレージオブジェクトが DataSource プロパティを介してデータソースに連結されている場合は、このオブジェクトのプロパティを使用して、BasePersistableObject.Index プロパティをデータソース内の適切なフィールドに連結できます。
構文
'宣言
 
Public Property IndexMapping As MappingInfo
public MappingInfo IndexMapping {get; set;}
解説
BasePersistableObject から派生される各オブジェクトは、Id または Index プロパティで識別されます。データソースからデータを正しく復元できるようにするには、IdMapping または IndexMapping のいずれかに対してマッピングを指定する必要があります。これは、リソース、ラベル、連絡先、またはカテゴリのデータストレージに連結する場合に重要です。C1Schedule は、これらのオブジェクトの ID またはインデックスのみを AppointmentSorage に保存します。IdMapping または IndexMapping に対するマッピングが存在しないと、C1Schedule は、データによって初期化されたストレージ内で、Appointment のプロパティを正しく識別できません。
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

MappingCollectionBase<T> クラス
MappingCollectionBase<T> メンバ

Send Feedback