MobileControlsSection 类

定义

注意

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.

表示有关移动控件、其适配器和设备筛选器的配置信息。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public ref class MobileControlsSection sealed : System::Configuration::ConfigurationSection
public sealed class MobileControlsSection : System.Configuration.ConfigurationSection
[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 MobileControlsSection : System.Configuration.ConfigurationSection
type MobileControlsSection = class
    inherit ConfigurationSection
[<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 MobileControlsSection = class
    inherit ConfigurationSection
Public NotInheritable Class MobileControlsSection
Inherits ConfigurationSection
继承
属性

注解

MobileControlsSection 类提供对配置文件节中的 mobileControls 值的编程访问。

构造函数

名称 说明
MobileControlsSection()
已过时.

创建类的新实例 MobileControlsSection 。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

属性

名称 说明
AllowCustomAttributes
已过时.

获取或设置一个值,该值指示页面是否可以具有自定义属性。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

CookielessDataDictionaryType
已过时.

获取或设置用于维护无 Cookie 表单身份验证密钥的字典类的类型。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

CurrentConfiguration
已过时.

获取对顶级 Configuration 实例的引用,该实例表示当前 ConfigurationElement 实例所属的配置层次结构。

(继承自 ConfigurationElement)
Devices
已过时.

获取以编程方式表示配置文件 的设备元素的设备 元素的集合。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

ElementInformation
已过时.

获取一个 ElementInformation 对象,该对象包含 ConfigurationElement 对象的不可自定义信息和功能。

(继承自 ConfigurationElement)
ElementProperty
已过时.

获取表示 ConfigurationElementProperty 对象本身的 ConfigurationElement 对象。

(继承自 ConfigurationElement)
EvaluationContext
已过时.

获取 ContextInformation 对象的 ConfigurationElement 对象。

(继承自 ConfigurationElement)
HasContext
已过时.

获取一个值,该值指示 CurrentConfiguration 属性是否 null

(继承自 ConfigurationElement)
Item[ConfigurationProperty]
已过时.

获取或设置此配置元素的属性或属性。

(继承自 ConfigurationElement)
Item[String]
已过时.

获取或设置此配置元素的属性、属性或子元素。

(继承自 ConfigurationElement)
LockAllAttributesExcept
已过时.

获取锁定属性的集合。

(继承自 ConfigurationElement)
LockAllElementsExcept
已过时.

获取锁定元素的集合。

(继承自 ConfigurationElement)
LockAttributes
已过时.

获取锁定属性的集合。

(继承自 ConfigurationElement)
LockElements
已过时.

获取锁定元素的集合。

(继承自 ConfigurationElement)
LockItem
已过时.

获取或设置一个值,该值指示元素是否已锁定。

(继承自 ConfigurationElement)
Properties
已过时.

获取属性的集合。

(继承自 ConfigurationElement)
SectionInformation
已过时.

获取一个 SectionInformation 对象,该对象包含不可自定义的信息和功能 ConfigurationSection

(继承自 ConfigurationSection)
SessionStateHistorySize
已过时.

获取或设置用于在服务器会话中保留应用程序视图状态的历史记录大小。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

方法

名称 说明
DeserializeElement(XmlReader, Boolean)
已过时.

从配置文件中读取 XML。

(继承自 ConfigurationElement)
DeserializeSection(XmlReader)
已过时.

从配置文件中读取 XML。

(继承自 ConfigurationSection)
Equals(Object)
已过时.

将当前 ConfigurationElement 实例与指定对象进行比较。

(继承自 ConfigurationElement)
GetHashCode()
已过时.

获取表示当前 ConfigurationElement 实例的唯一值。

(继承自 ConfigurationElement)
GetRuntimeObject()
已过时.

在派生类中重写时返回自定义对象。

(继承自 ConfigurationSection)
GetTransformedAssemblyString(String)
已过时.

返回指定程序集名称的转换版本。

(继承自 ConfigurationElement)
GetTransformedTypeString(String)
已过时.

返回指定类型名称的转换版本。

(继承自 ConfigurationElement)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
Init()
已过时.

ConfigurationElement 对象设置为其初始状态。

(继承自 ConfigurationElement)
InitializeDefault()
已过时.

用于初始化 ConfigurationElement 对象的默认值集。

(继承自 ConfigurationElement)
IsModified()
已过时.

指示自上次在派生类中实现时保存或加载此配置元素以来是否已修改此配置元素。

(继承自 ConfigurationSection)
IsReadOnly()
已过时.

获取一个值,该值指示对象 ConfigurationElement 是否为只读。

(继承自 ConfigurationElement)
ListErrors(IList)
已过时.

将此 ConfigurationElement 对象和所有子元素中的无效属性错误添加到传递的列表。

(继承自 ConfigurationElement)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
OnDeserializeUnrecognizedAttribute(String, String)
已过时.

获取一个值,该值指示在反序列化期间是否遇到未知属性。

(继承自 ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader)
已过时.

获取一个值,该值指示在反序列化期间是否遇到未知元素。

(继承自 ConfigurationElement)
OnRequiredPropertyNotFound(String)
已过时.

在找不到所需属性时引发异常。

(继承自 ConfigurationElement)
PostDeserialize()
已过时.

反序列化后调用。

(继承自 ConfigurationElement)
PreSerialize(XmlWriter)
已过时.

在序列化之前调用。

(继承自 ConfigurationElement)
Reset(ConfigurationElement)
已过时.

重置对象的内部状态 ConfigurationElement ,包括锁和属性集合。

(继承自 ConfigurationElement)
ResetModified()
已过时.

将方法的值 IsModified() 重置为 false 在派生类中实现时的值。

(继承自 ConfigurationSection)
SerializeElement(XmlWriter, Boolean)
已过时.

在派生类中实现时,将此配置元素的内容写入配置文件。

(继承自 ConfigurationElement)
SerializeSection(ConfigurationElement, String, ConfigurationSaveMode)
已过时.

创建一个 XML 字符串,该字符串包含对象的未合并视图 ConfigurationSection 作为要写入文件的单个节。

(继承自 ConfigurationSection)
SerializeToXmlElement(XmlWriter, String)
已过时.

在派生类中实现时,将此配置元素的外部标记写入配置文件。

(继承自 ConfigurationElement)
SetPropertyValue(ConfigurationProperty, Object, Boolean)
已过时.

将属性设置为指定的值。

(继承自 ConfigurationElement)
SetReadOnly()
已过时.

IsReadOnly()设置对象和所有子元素的属性ConfigurationElement

(继承自 ConfigurationElement)
ShouldSerializeElementInTargetVersion(ConfigurationElement, String, FrameworkName)
已过时.

指示在为 .NET Framework 的指定目标版本序列化配置对象层次结构时,是否应序列化指定的元素。

(继承自 ConfigurationSection)
ShouldSerializePropertyInTargetVersion(ConfigurationProperty, String, FrameworkName, ConfigurationElement)
已过时.

指示在为 .NET Framework 的指定目标版本序列化配置对象层次结构时,是否应序列化指定的属性。

(继承自 ConfigurationSection)
ShouldSerializeSectionInTargetVersion(FrameworkName)
已过时.

指示在为 .NET Framework 的指定目标版本序列化配置对象层次结构时,是否应序列化当前的 ConfigurationSection 实例。

(继承自 ConfigurationSection)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
已过时.

ConfigurationElement修改对象以删除不应保存的所有值。

(继承自 ConfigurationElement)

适用于

另请参阅