/// <summary> /// Adds the specified <see cref="GX.SimpleArrayField"/> to this instance. /// [Google extension] /// </summary> /// <param name="array">The <c>SimpleArrayField</c> to add to this instance.</param> /// <exception cref="System.ArgumentNullException">array is null.</exception> /// <exception cref="System.InvalidOperationException"> /// array belongs to another <see cref="Element"/>. /// </exception> public void AddArray(GX.SimpleArrayField array) { this.TryAddChild(array); }
/// <summary> /// Adds the specified <see cref="GX.SimpleArrayField"/> to this instance. /// [Google extension]. /// </summary> /// <param name="array">The <c>SimpleArrayField</c> to add to this instance.</param> /// <exception cref="System.ArgumentNullException">array is null.</exception> /// <exception cref="System.InvalidOperationException"> /// array belongs to another <see cref="Element"/>. /// </exception> public void AddArray(GX.SimpleArrayField array) { this.AddAsChild(this.arrayFields, array); }