HttpContextBase.Profile Eigenschaft

Definition

Ruft beim Überschreiben in einer abgeleiteten Klasse das ProfileBase-Objekt für das aktuelle Benutzerprofil ab.

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

Eigenschaftswert

ProfileBase

Gibt ein Objekt zurück, das das aktuelle Benutzerprofil darstellt, wenn die Profileigenschaften in der Anwendungskonfigurationsdatei definiert und Profile für die Anwendung aktiviert sind, andernfalls null.

Ausnahmen

Gilt für