示例#1
0
 public static bool Contains(this PropertyStore store, PropertyKey key)
 {
     for (int index = 0; index < store.Count; ++index)
     {
         PropertyKey propertyKey = store.GetKey(index);
         if (propertyKey.ID == key.ID && propertyKey.PropertyID == key.PropertyID)
         {
             return(true);
         }
     }
     return(false);
 }