HttpContextWrapper.Profile Tulajdonság

Definíció

Lekéri az ProfileBase aktuális felhasználói profil objektumát.

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

Tulajdonság értéke

Ha a profiltulajdonságok az alkalmazás konfigurációs fájljában vannak definiálva, és az alkalmazás profiljai engedélyezve vannak, az aktuális felhasználói profilt képviselő objektum; egyéb esetben. null

A következőre érvényes: