HttpContextBase.Profile 屬性

定義

在衍生類別中遭覆寫時,取得目前使用者設定檔的 ProfileBase 物件。

public:
 virtual property System::Web::Profile::ProfileBase ^ Profile { System::Web::Profile::ProfileBase ^ get(); };
public virtual System.Web.Profile.ProfileBase Profile { get; }
member this.Profile : System.Web.Profile.ProfileBase
Public Overridable ReadOnly Property Profile As ProfileBase

屬性值

如果應用程式組態檔中定義了設定檔屬性,且已為此應用程式啟用了設定檔,則為代表目前使用者設定檔的物件表示;否則為 null

例外狀況

適用於