DataRelation.ExtendedProperties 属性

定义

获取存储自定义属性的集合。Gets the collection that stores customized properties.

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

一个包含自定义属性的 PropertyCollectionA PropertyCollection that contains customized properties.

属性

注解

用于 ExtendedProperties 将自定义信息添加到 DataRelation 对象。Use ExtendedProperties to add custom information to a DataRelation object. 添加包含添加方法的信息。Add information with the Add method. 检索包含 Item 方法的信息。Retrieve information with the Item method.

扩展属性的类型必须为 StringExtended properties must be of type String. 在以 XML 形式编写时,不会保留不属于字符串类型的属性 DataRelationProperties that are not of type String are not persisted when the DataRelation is written as XML.

适用于