MobileControlsSection Class

Exposes configuration information for mobile controls, their adapters, and device filters.

Syntax

class MobileControlsSection : ConfigurationSectionWithCollection  

Methods

The following table lists the methods exposed by the MobileControlsSection class.

Name Description
Add (Inherited from ConfigurationSectionWithCollection.)
Clear (Inherited from ConfigurationSectionWithCollection.)
Get (Inherited from ConfigurationSectionWithCollection.)
GetAllowDefinition (Inherited from ConfigurationSection.)
GetAllowLocation (Inherited from ConfigurationSection.)
Remove (Inherited from ConfigurationSectionWithCollection.)
RevertToParent (Inherited from ConfigurationSection.)
SetAllowDefinition (Inherited from ConfigurationSection.)
SetAllowLocation (Inherited from ConfigurationSection.)

Properties

The following table lists the properties exposed by the MobileControlsSection class.

Name Description
AllowCustomAttributes A read/write boolean value. true if pages can have custom attributes; otherwise, false. The default is false.
CookielessDataDictionaryType A read/write string value that specifies the type of the dictionary class that maintains the keys for cookieless Forms authentication. The default is "System.Web.Mobile.CookielessData".
MobileControls An array of read/write DeviceElement values that define adapter sets that map ASP.NET mobile controls to corresponding adapters.
Location (Inherited from ConfigurationSection.) A key property.
Path (Inherited from ConfigurationSection.) A key property.
SectionInformation (Inherited from ConfigurationSection.)
SessionStateHistorySize A read/write sint32 value that specifies the size of the history stack to use to keep the application view state in the server session. The value must be between 0 and 2147483647. The default is 6.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ConfigurationSection

ConfigurationSectionWithCollection

MobileControlsSection

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

AdapterElement Class
ConfigurationSectionWithCollection Class
DeviceElement Class
MobileControlsSection Properties