示例#1
0
 /// <summary>
 /// Removes a <see cref="SLContact"/> object instance. More than one instance can be defined for this object because it is a repeatable field element.
 /// </summary>
 /// <param name="Relationship">Identifies the SLContact object to remove by its Relationship value</param>
 /// <remarks>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void RemoveContact( Relationship Relationship )
 {
     RemoveChild( ReportingDTD.STUDENTLOCATOR_CONTACT, new String[] { Relationship.ToString() } );
 }
示例#2
0
 /// <summary>
 /// Gets a <see cref="SLContact"/> object instance. More than one instance can be defined for this object because it is a repeatable field element.
 /// </summary>
 /// <param name="Relationship">Identifies the SLContact object to return by its "Relationship" attribute value</param>
 /// <returns>A SLContact object</returns>
 /// <remarks>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public SLContact GetContact( Relationship Relationship )
 {
     return (SLContact)GetChild( ReportingDTD.STUDENTLOCATOR_CONTACT, new string[] { Relationship.ToString() } );
 }