ComContractElementCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示实例的 ComContractElement 集合。 此类不能被继承。
public ref class ComContractElementCollection sealed : System::ServiceModel::Configuration::ServiceModelEnhancedConfigurationElementCollection<System::ServiceModel::Configuration::ComContractElement ^>
[System.Configuration.ConfigurationCollection(typeof(System.ServiceModel.Configuration.ComContractElement), AddItemName="comContract")]
public sealed class ComContractElementCollection : System.ServiceModel.Configuration.ServiceModelEnhancedConfigurationElementCollection<System.ServiceModel.Configuration.ComContractElement>
[<System.Configuration.ConfigurationCollection(typeof(System.ServiceModel.Configuration.ComContractElement), AddItemName="comContract")>]
type ComContractElementCollection = class
inherit ServiceModelEnhancedConfigurationElementCollection<ComContractElement>
Public NotInheritable Class ComContractElementCollection
Inherits ServiceModelEnhancedConfigurationElementCollection(Of ComContractElement)
- 继承
-
ServiceModelConfigurationElementCollection<TConfigurationElement>ComContractElementCollection
- 属性
构造函数
| 名称 | 说明 |
|---|---|
| ComContractElementCollection() |
初始化 ComContractElementCollection 类的新实例。 |
属性
方法
显式接口实现
| 名称 | 说明 |
|---|---|
| ICollection.CopyTo(Array, Int32) |
将 ConfigurationElementCollection 复制到数组。 (继承自 ConfigurationElementCollection) |
扩展方法
| 名称 | 说明 |
|---|---|
| AsParallel(IEnumerable) |
启用查询的并行化。 |
| AsQueryable(IEnumerable) |
将 IEnumerable 转换为 IQueryable。 |
| Cast<TResult>(IEnumerable) |
将 IEnumerable 的元素强制转换为指定类型。 |
| OfType<TResult>(IEnumerable) |
根据指定类型筛选 IEnumerable 的元素。 |