編輯

共用方式為


HttpContextWrapper.Profile Property

Definition

Gets the ProfileBase object for the current user profile.

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

Property Value

If profile properties are defined in the application configuration file and profiles are enabled for the application, an object that represents the current user profile; otherwise, null.

Applies to