DataRelation.ExtendedProperties 屬性

定義

取得儲存自訂屬性的集合。

public:
 property System::Data::PropertyCollection ^ ExtendedProperties { System::Data::PropertyCollection ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Data.PropertyCollection ExtendedProperties { get; }
[System.ComponentModel.Browsable(false)]
[System.Data.DataSysDescription("ExtendedPropertiesDescr")]
public System.Data.PropertyCollection ExtendedProperties { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ExtendedProperties : System.Data.PropertyCollection
[<System.ComponentModel.Browsable(false)>]
[<System.Data.DataSysDescription("ExtendedPropertiesDescr")>]
member this.ExtendedProperties : System.Data.PropertyCollection
Public ReadOnly Property ExtendedProperties As PropertyCollection

屬性值

PropertyCollection,其中包含自訂的屬性。

屬性

備註

使用 ExtendedProperties 將自訂資訊新增至 DataRelation 物件。 使用 Add 方法新增資訊。 使用 Item 方法擷取資訊。

擴充屬性的類型必須是 String。 當 寫入為 XML 時 DataRelation ,不會保存不是 String 類型的屬性。

適用於