Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a new <see cref="FieldPosition"/> for the specified <see cref="FormatField"/>
 /// <paramref name="attribute"/> and <paramref name="field"/> id.
 /// </summary>
 /// <param name="attribute">the field attribute to identify.</param>
 /// <param name="field">the field to identify.</param>
 public FieldPosition(FormatField attribute, int field)
 {
     myAttribute = attribute;
     myField     = field;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a new <see cref="FieldPosition"/> for the specified <see cref="FormatField"/>
 /// <paramref name="attribute"/>.
 /// </summary>
 /// <param name="attribute">the field attribute to identify.</param>
 public FieldPosition(FormatField attribute)
 {
     myAttribute = attribute;
     myField     = -1;
 }