Пример #1
0
 /// <summary>
 /// Gets a <see cref="PhoneNumber"/> 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 PhoneNumber object to return by its "Type" attribute value</param>
 /// <returns>A PhoneNumber object</returns>
 /// <remarks>
 /// <para>Version: 1.5r1</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public PhoneNumber GetPhoneNumber(PhoneNumberType Type)
 {
     return((PhoneNumber)GetChild(HrfinDTD.VENDORINFO_PHONENUMBER, new string[] { Type.ToString() }));
 }
Пример #2
0
 /// <summary>
 /// Removes a <see cref="PhoneNumber"/> 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 PhoneNumber object to remove by its Type value</param>
 /// <remarks>
 /// <para>Version: 1.5r1</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void RemovePhoneNumber(PhoneNumberType Type)
 {
     RemoveChild(HrfinDTD.VENDORINFO_PHONENUMBER, new String[] { Type.ToString() });
 }