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

屬性值

如果應用程式設定檔中有設定檔屬性,且應用程式啟用了設定檔,則代表目前使用者設定檔的物件;否則,。 null

適用於