公開行動控制項、其介面卡和裝置篩選的組態資訊。
Syntax
class MobileControlsSection : ConfigurationSectionWithCollection
方法
下表列出 類別所 MobileControlsSection 公開的方法。
| 名稱 | 描述 |
|---|---|
| 加入 | (繼承自 ConfigurationSectionWithCollection.) |
| 清除 | (繼承自 ConfigurationSectionWithCollection。) |
| Get | (繼承自 ConfigurationSectionWithCollection。) |
| GetAllowDefinition | (繼承自 ConfigurationSection.) |
| GetAllowLocation | (繼承自 ConfigurationSection。) |
| 移除 | (繼承自 ConfigurationSectionWithCollection。) |
| RevertToParent | (繼承自 ConfigurationSection。) |
| SetAllowDefinition | (繼承自 ConfigurationSection。) |
| SetAllowLocation | (繼承自 ConfigurationSection。) |
屬性
下表列出 類別所 MobileControlsSection 公開的屬性。
| 名稱 | 描述 |
|---|---|
AllowCustomAttributes |
讀取/寫入 boolean 值。 true 如果頁面可以有自訂屬性,則為 ;否則為 false 。 預設值為 false。 |
CookielessDataDictionaryType |
讀取/寫入 string 值,指定維護 Cookieless Forms 驗證金鑰的字典類別類型。 預設值為 「System.Web.Mobile.CookielessData」。 |
MobileControls |
可讀寫 的 DeviceElement 值陣列,可定義將行動控制項對應至對應配接器的配接器集合 ASP.NET。 |
Location |
(繼承自 ConfigurationSection .) 索引鍵屬性。 |
Path |
(繼承自 ConfigurationSection .) 索引鍵屬性。 |
SectionInformation |
(繼承自 ConfigurationSection。) |
SessionStateHistorySize |
讀取/寫入 sint32 值,指定用來在伺服器會話中保留應用程式檢視狀態的歷程記錄堆疊大小。 值必須介於 0 和 2147483647之間。 預設為 6。 |
子類別
這個類別不包含子類別。
繼承階層架構
ConfigurationSectionWithCollection
MobileControlsSection
規格需求
| 類型 | Description |
|---|---|
| Client | - Windows Vista 上的 IIS 7.0 - Windows 7 上的 IIS 7.5 - Windows 8上的 IIS 8.0 - Windows 10上的 IIS 10.0 |
| 伺服器 | - Windows Server 2008 上的 IIS 7.0 - Windows Server 2008 R2 上的 IIS 7.5 - Windows Server 2012上的 IIS 8.0 - Windows Server 2012 R2 上的 IIS 8.5 - Windows Server 2016上的 IIS 10.0 |
| 產品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
| MOF 檔案 | WebAdministration.mof |
另請參閱
AdapterElement 類別
ConfigurationSectionWithCollection 類別
DeviceElement 類別
MobileControlsSection 屬性