IdentityConfigurationElementCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示設定檔中的元素集合 <identityConfiguration> 。 此類別無法獲得繼承。
public ref class IdentityConfigurationElementCollection sealed : System::Configuration::ConfigurationElementCollection
[System.Configuration.ConfigurationCollection(typeof(System.IdentityModel.Configuration.IdentityConfigurationElement), AddItemName="identityConfiguration", CollectionType=System.Configuration.ConfigurationElementCollectionType.BasicMap)]
public sealed class IdentityConfigurationElementCollection : System.Configuration.ConfigurationElementCollection
[<System.Configuration.ConfigurationCollection(typeof(System.IdentityModel.Configuration.IdentityConfigurationElement), AddItemName="identityConfiguration", CollectionType=System.Configuration.ConfigurationElementCollectionType.BasicMap)>]
type IdentityConfigurationElementCollection = class
inherit ConfigurationElementCollection
Public NotInheritable Class IdentityConfigurationElementCollection
Inherits ConfigurationElementCollection
- 繼承
- 屬性
備註
一個設定檔可以包含多個 <identityConfiguration> 元素。 每個身份設定皆以其屬性中 name 指定的唯一名稱來識別。 每個 <identityConfiguration> 元素由一個 IdentityConfigurationElement 物件表示。
Name每個物件的屬性包含該恆等配置的名稱。 該 IdentityConfigurationElementCollection 類別會包裝一個包含從檔案讀取的所有 <identityConfiguration> 元素的集合。 身份設定的名稱作為鍵值,在呼叫IdentityConfigurationElement該方法時取得對應GetElement的。
建構函式
| 名稱 | Description |
|---|---|
| IdentityConfigurationElementCollection() |
初始化 IdentityConfigurationElementCollection 類別的新執行個體。 |
屬性
方法
明確介面實作
| 名稱 | Description |
|---|---|
| ICollection.CopyTo(Array, Int32) |
將 ConfigurationElementCollection 複製到陣列。 (繼承來源 ConfigurationElementCollection) |
擴充方法
| 名稱 | Description |
|---|---|
| AsParallel(IEnumerable) |
啟用查詢的平行處理。 |
| AsQueryable(IEnumerable) |
將 IEnumerable 轉換成 IQueryable。 |
| Cast<TResult>(IEnumerable) |
將 IEnumerable 的項目轉換成指定的型別。 |
| OfType<TResult>(IEnumerable) |
根據指定的型別篩選 IEnumerable 的專案。 |