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