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 移动应用程序的信息,请参阅 移动应用 & 具有 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
属性

字段

ApplicationCache 1

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

Internal 4

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

None 5

当前未使用。

NotSet 0

默认值。 位置尚未确定。

PhysicalFile 3

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

SessionState 2

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

注解

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

适用于

另请参阅