internal void Bind(V2Interop.ITaskNamedValueCollection iTaskNamedValueCollection)
 {
     v2Coll = iTaskNamedValueCollection;
     v2Coll.Clear();
     foreach (var item in unboundDict)
     {
         v2Coll.Create(item.Key, item.Value);
     }
 }
 /// <summary>
 /// Clears the entire collection of name-value pairs.
 /// </summary>
 public void Clear()
 {
     if (v2Coll != null)
     {
         v2Coll.Clear();
     }
     else
     {
         unboundDict.Clear();
     }
 }
 internal void Bind(V2Interop.ITaskNamedValueCollection iTaskNamedValueCollection)
 {
     v2Coll = iTaskNamedValueCollection;
     v2Coll.Clear();
     foreach (var item in unboundDict)
         v2Coll.Create(item.Key, item.Value);
 }