Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpContext::Profile Property

 

Gets the ProfileBase object for the current user profile.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property ProfileBase^ Profile {
	ProfileBase^ get();
}

Property Value

Type: System.Web.Profile::ProfileBase^

A ProfileBase if the application configuration file contains a definition for the profile's properties; otherwise, null.

A Profile property is used for persistent storage of structured data using a type-safe API. When a Profile property is accessed but no value is present, an empty instance is returned; null is not returned.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft