ProfileManager::AddDynamicProfileProperty Method (ProfilePropertySettings^)
.NET Framework (current version)
Adds a profile property programmatically.
Assembly: System.Web (in System.Web.dll)
Parameters
- property
-
Type:
System.Web.Configuration::ProfilePropertySettings^
The property settings to be added.
This method is functionally equivalent to adding the property to the profile section of the configuration file. To call this method to add the profile property, you must make the call in a method that is marked with the PreApplicationStartMethodAttribute attribute.
.NET Framework
Available since 4.0
Available since 4.0
Show: