DeviceElementCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.
物件的 DeviceElement 集合。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱
public ref class DeviceElementCollection sealed : System::Configuration::ConfigurationElementCollection
[System.Configuration.ConfigurationCollection(typeof(System.Web.UI.MobileControls.DeviceElement), AddItemName="device")]
public sealed class DeviceElementCollection : System.Configuration.ConfigurationElementCollection
[System.Configuration.ConfigurationCollection(typeof(System.Web.UI.MobileControls.DeviceElement), AddItemName="device")]
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public sealed class DeviceElementCollection : System.Configuration.ConfigurationElementCollection
[<System.Configuration.ConfigurationCollection(typeof(System.Web.UI.MobileControls.DeviceElement), AddItemName="device")>]
type DeviceElementCollection = class
inherit ConfigurationElementCollection
[<System.Configuration.ConfigurationCollection(typeof(System.Web.UI.MobileControls.DeviceElement), AddItemName="device")>]
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type DeviceElementCollection = class
inherit ConfigurationElementCollection
Public NotInheritable Class DeviceElementCollection
Inherits ConfigurationElementCollection
- 繼承
- 屬性
備註
該 DeviceElementCollection 類別包含一組 DeviceElement 從設定檔讀取的物件集合。 欲了解更多關於設定檔結構與內容的資訊,請參閱 <mobileControls>。
建構函式
| 名稱 | Description |
|---|---|
| DeviceElementCollection() |
已淘汰.
初始化 DeviceElementCollection 類別的新執行個體。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 |
屬性
方法
明確介面實作
| 名稱 | Description |
|---|---|
| ICollection.CopyTo(Array, Int32) |
已淘汰.
將 ConfigurationElementCollection 複製到陣列。 (繼承來源 ConfigurationElementCollection) |
擴充方法
| 名稱 | Description |
|---|---|
| AsParallel(IEnumerable) |
已淘汰.
啟用查詢的平行處理。 |
| AsQueryable(IEnumerable) |
已淘汰.
將 IEnumerable 轉換成 IQueryable。 |
| Cast<TResult>(IEnumerable) |
已淘汰.
將 IEnumerable 的項目轉換成指定的型別。 |
| OfType<TResult>(IEnumerable) |
已淘汰.
根據指定的型別篩選 IEnumerable 的專案。 |