ProfilePropertySettings.SerializeAs Property
.NET Framework (current version)
Gets or sets the serialization method used for the associated property in the dynamically generated ProfileCommon class.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("serializeAs", DefaultValue = SerializationMode.ProviderSpecific)] public SerializationMode SerializeAs { get; set; }
Property Value
Type: System.Web.Configuration.SerializationModeOne of the SerializationMode values. The default is ProviderSpecific.
For more information about profile properties, see ASP.NET Profile Properties Overview.
The following code example shows how to use the SerializeAs property. This code example is part of a larger example provided for the ProfileSection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: