ValidatingPropertiesEventArgs::Properties Property
Gets the collection of names and values of the profile properties to validate.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The Properties property returns an IDictionary object that contains the names and values of the profile properties to set for the user. If you create an event handler for the ValidatingProperties event, you can retrieve the properties to validate from the Properties property. If any values fail validation, add them to the FailedProperties property. The SetPropertiesForCurrentUser method returns the collection in the FailedProperties property so that you can determine which properties failed validation.
The following example shows an event handler for the ValidatingProperties event. When the value passed for FirstName property is empty or nullptr, the FirstName property is added to the FailedProperties collection.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.