ProfilePropertyMetadata::SerializeAs Property

 

Gets or sets a value that indicates how to serialize the property value.

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

public:
[DataMemberAttribute]
property int SerializeAs {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The enumeration value.

You set the SerializeAs property in the element of the section of the Web.config file when the property is defined.

.NET Framework
Available since 3.5
Return to top
Show: