通过


StyleSheetLocation 枚举

定义

注意

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 enum class StyleSheetLocation
public enum StyleSheetLocation
[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 enum StyleSheetLocation
type StyleSheetLocation = 
[<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 StyleSheetLocation = 
Public Enum StyleSheetLocation
继承
StyleSheetLocation
属性

字段

名称 说明
NotSet 0

默认值。 尚未确定该位置。

ApplicationCache 1

样式表存储在应用程序缓存中。

SessionState 2

样式表存储在当前会话状态中。

PhysicalFile 3

样式表是外部物理文件,例如MyStylesheet.css。

Internal 4

样式表是当前源文件中的一组样式(.aspx或 .ascx)。

None 5

当前未使用。

注解

命名空间 StyleSheetLocation 中的 System.Web.UI.MobileControls.Adapters.XhtmlAdapters 类使用枚举来帮助创建 XHTML 标记。

适用于

另请参阅