HttpContextWrapper.Profile 屬性

定義

取得目前使用者設定檔的 ProfileBase 物件。

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

屬性值

ProfileBase

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

適用於