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 & Sites with 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

樣式表會儲存在目前的工作階段 (Session) 狀態中。

備註

StyleSheetLocation命名空間中的System.Web.UI.MobileControls.Adapters.XhtmlAdapters類別會使用此列舉來協助建立 XHTML 標記。

適用於

另請參閱