示例#1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="contactName">The name of the principal.</param>
 ///
 public PrincipalInfo( ContactName contactName )
     : base(CommonDTD.PRINCIPALINFO)
 {
     this.ContactName = contactName;
 }
示例#2
0
 ///<summary>Sets the value of the <c>&lt;PrincipalInfo&gt;</c> element.</summary>
 /// <param name="ContactName">The name of the principal.</param>
 ///<remarks>
 /// <para>This form of <c>setPrincipalInfo</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>PrincipalInfo</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetPrincipalInfo( ContactName ContactName )
 {
     RemoveChild( SchoolDTD.SCHOOLINFO_PRINCIPALINFO);
     AddChild( SchoolDTD.SCHOOLINFO_PRINCIPALINFO, new PrincipalInfo( ContactName ) );
 }
示例#3
0
 ///<summary>Sets the value of the <c>&lt;PrincipalInfo&gt;</c> element.</summary>
 /// <param name="ContactName">The name of the principal.</param>
 ///<remarks>
 /// <para>This form of <c>setPrincipalInfo</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>PrincipalInfo</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetPrincipalInfo( ContactName ContactName )
 {
     RemoveChild( StudentDTD.STUDENTSDTN_PRINCIPALINFO);
     AddChild( StudentDTD.STUDENTSDTN_PRINCIPALINFO, new PrincipalInfo( ContactName ) );
 }
示例#4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="contactName">The name of the principal.</param>
 ///
 public PrincipalInfo(ContactName contactName) : base(CommonDTD.PRINCIPALINFO)
 {
     this.ContactName = contactName;
 }