コード例 #1
0
 /// <summary>
 /// Adds the elements of an array to the end of this RichTextBoxWordColoringRuleCollection.
 /// </summary>
 /// <param name="items">
 /// The array whose elements are to be added to the end of this RichTextBoxWordColoringRuleCollection.
 /// </param>
 public virtual void AddRange(RichTextBoxWordColoringRule[] items)
 {
     foreach (RichTextBoxWordColoringRule item in items)
     {
         this.List.Add(item);
     }
 }
コード例 #2
0
 /// <summary>
 /// Removes the first occurrence of a specific RichTextBoxWordColoringRule from this RichTextBoxWordColoringRuleCollection.
 /// </summary>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule value to remove from this RichTextBoxWordColoringRuleCollection.
 /// </param>
 public virtual void Remove(RichTextBoxWordColoringRule value)
 {
     this.List.Remove(value);
 }
コード例 #3
0
 /// <summary>
 /// Inserts an element into the RichTextBoxWordColoringRuleCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the RichTextBoxWordColoringRule is to be inserted.
 /// </param>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule to insert.
 /// </param>
 public virtual void Insert(int index, RichTextBoxWordColoringRule value)
 {
     this.List.Insert(index, value);
 }
コード例 #4
0
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this RichTextBoxWordColoringRuleCollection
 /// </summary>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule value to locate in the RichTextBoxWordColoringRuleCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(RichTextBoxWordColoringRule value)
 {
     return(this.List.IndexOf(value));
 }
コード例 #5
0
 /// <summary>
 /// Determines whether a specfic RichTextBoxWordColoringRule value is in this RichTextBoxWordColoringRuleCollection.
 /// </summary>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule value to locate in this RichTextBoxWordColoringRuleCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this RichTextBoxWordColoringRuleCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(RichTextBoxWordColoringRule value)
 {
     return(this.List.Contains(value));
 }
コード例 #6
0
 /// <summary>
 /// Adds an instance of type RichTextBoxWordColoringRule to the end of this RichTextBoxWordColoringRuleCollection.
 /// </summary>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule to be added to the end of this RichTextBoxWordColoringRuleCollection.
 /// </param>
 public virtual void Add(RichTextBoxWordColoringRule value)
 {
     this.List.Add(value);
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the RichTextBoxWordColoringRuleCollection class, containing elements
 /// copied from an array.
 /// </summary>
 /// <param name="items">
 /// The array whose elements are to be added to the new RichTextBoxWordColoringRuleCollection.
 /// </param>
 public RichTextBoxWordColoringRuleCollection(RichTextBoxWordColoringRule[] items)
 {
     this.AddRange(items);
 }
コード例 #8
0
 /// <summary>
 /// Removes the first occurrence of a specific RichTextBoxWordColoringRule from this RichTextBoxWordColoringRuleCollection.
 /// </summary>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule value to remove from this RichTextBoxWordColoringRuleCollection.
 /// </param>
 public virtual void Remove(RichTextBoxWordColoringRule value)
 {
     this.List.Remove(value);
 }
コード例 #9
0
 /// <summary>
 /// Inserts an element into the RichTextBoxWordColoringRuleCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the RichTextBoxWordColoringRule is to be inserted.
 /// </param>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule to insert.
 /// </param>
 public virtual void Insert(int index, RichTextBoxWordColoringRule value)
 {
     this.List.Insert(index, value);
 }
コード例 #10
0
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this RichTextBoxWordColoringRuleCollection
 /// </summary>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule value to locate in the RichTextBoxWordColoringRuleCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(RichTextBoxWordColoringRule value)
 {
     return this.List.IndexOf(value);
 }
コード例 #11
0
 /// <summary>
 /// Determines whether a specfic RichTextBoxWordColoringRule value is in this RichTextBoxWordColoringRuleCollection.
 /// </summary>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule value to locate in this RichTextBoxWordColoringRuleCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this RichTextBoxWordColoringRuleCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(RichTextBoxWordColoringRule value)
 {
     return this.List.Contains(value);
 }
コード例 #12
0
 /// <summary>
 /// Adds an instance of type RichTextBoxWordColoringRule to the end of this RichTextBoxWordColoringRuleCollection.
 /// </summary>
 /// <param name="value">
 /// The RichTextBoxWordColoringRule to be added to the end of this RichTextBoxWordColoringRuleCollection.
 /// </param>
 public virtual void Add(RichTextBoxWordColoringRule value)
 {
     this.List.Add(value);
 }