XmlArrayItemAttributes 类   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 XmlArrayItemAttribute 对象集合。
public ref class XmlArrayItemAttributes : System::Collections::IListpublic ref class XmlArrayItemAttributes : System::Collections::CollectionBasepublic class XmlArrayItemAttributes : System.Collections.IListpublic class XmlArrayItemAttributes : System.Collections.CollectionBasetype XmlArrayItemAttributes = class
    interface ICollection
    interface IEnumerable
    interface IListtype XmlArrayItemAttributes = class
    inherit CollectionBasePublic Class XmlArrayItemAttributes
Implements IListPublic Class XmlArrayItemAttributes
Inherits CollectionBase- 继承
- 
				XmlArrayItemAttributes
- 继承
- 实现
注解
类 XmlArrayItemAttributes 允许指定可插入公共字段或公共读/写属性返回的数组中的派生类型。
此类的实例由 XmlArrayItems 类的属性 XmlAttributes 返回。 重写 XmlAttributes 可插入到已应用对象的数组中的对象集 XmlArrayItemAttribute 时,将使用该类 XmlArrayAttribute 。
对于希望字段或属性接受的每个新类型,请创建一个 XmlArrayItemAttribute 并使用 Add 该对象将对象添加到 XmlArrayItemAttributes 属性返回的 XmlArrayItems 集合中。 AddXmlAttributeOverrides,XmlAttributes指定包含字段或属性的对象的类型以及字段或属性的名称。 使用调用或Deserialize方法之前Serialize构造一个XmlSerializer。XmlAttributeOverrides
构造函数
| XmlArrayItemAttributes() | 初始化 XmlArrayItemAttributes 类的新实例。 | 
属性
| Capacity | 获取或设置 CollectionBase 可包含的元素数。(继承自 CollectionBase) | 
| Count | 获取 ICollection 中包含的元素数。 | 
| Count | 获取 CollectionBase 实例中包含的元素数。 不能重写此属性。(继承自 CollectionBase) | 
| InnerList | 获取一个 ArrayList,它包含 CollectionBase 实例中元素的列表。(继承自 CollectionBase) | 
| Item[Int32] | 获取或设置指定索引处的项。 | 
| List | 获取一个 IList,它包含 CollectionBase 实例中元素的列表。(继承自 CollectionBase) | 
方法
显式接口实现
扩展方法
| Cast<TResult>(IEnumerable) | 将 IEnumerable 的元素强制转换为指定的类型。 | 
| OfType<TResult>(IEnumerable) | 根据指定类型筛选 IEnumerable 的元素。 | 
| AsParallel(IEnumerable) | 启用查询的并行化。 | 
| AsQueryable(IEnumerable) | 将 IEnumerable 转换为 IQueryable。 |