///<summary>Sets the value of the <c><AlertMessages></c> element.</summary> /// <param name="AlertMessage">This is an alert message that is associated with the student.</param> ///<remarks> /// <para>This form of <c>setAlertMessages</c> is provided as a convenience method /// that is functionally equivalent to the <c>AlertMessages</c></para> /// <para>Version: 2.5</para> /// <para>Since: 2.3</para> /// </remarks> public void SetAlertMessages( AlertMessage AlertMessage ) { RemoveChild( StudentDTD.STUDENTPERSONAL_ALERTMESSAGES); AddChild( StudentDTD.STUDENTPERSONAL_ALERTMESSAGES, new AlertMessages( AlertMessage ) ); }