System.util.Properties.Clear C# (CSharp) Method

Clear() public method

public Clear ( ) : void
return void
        public void Clear()
        {
            _col.Clear();
        }

Usage Example

Esempio n. 1
0
 /// <summary>
 /// Writes the markup attributes of the specified MarkupAttributes
 /// object to the stream.
 /// </summary>
 /// <param name="mAtt">the MarkupAttributes to write.</param>
 /// <returns></returns>
 protected bool WriteMarkupAttributes(Properties markup)
 {
     if (markup == null) return false;
     foreach (String name in markup.Keys) {
         Write(name, markup[name]);
     }
     markup.Clear();
     return true;
 }