예제 #1
0
 /// <summary>
 /// Removes an <see cref="Address"/> object instance. More than one instance can be defined for this object because it is a repeatable field element.
 /// </summary>
 /// <param name="Type">Identifies the Address object to remove by its Type value</param>
 /// <remarks>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void RemoveAddress( AddressType Type )
 {
     RemoveChild( ReportingDTD.STUDENTLOCATOR_ADDRESS, new String[] { Type.ToString() } );
 }
예제 #2
0
 /// <summary>
 /// Gets an <see cref="Address"/> object instance. More than one instance can be defined for this object because it is a repeatable field element.
 /// </summary>
 /// <param name="Type">Identifies the Address object to return by its "Type" attribute value</param>
 /// <returns>An Address object</returns>
 /// <remarks>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public Address GetAddress( AddressType Type )
 {
     return (Address)GetChild( ReportingDTD.STUDENTLOCATOR_ADDRESS, new string[] { Type.ToString() } );
 }