Method SetItems
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
SetItems<T>(IFileTypePropertyBag, IEnumerable<KeyValuePair<string, T>>)
Sets the specified keys and values in the property bag. The values are converted to strings using their ToString() method. If a key already exists in the property bag then it is overwritten.
public static void SetItems<T>(this IFileTypePropertyBag propertyBag, IEnumerable<KeyValuePair<string, T>> items) where T : IParsable<T>
Parameters
propertyBagIFileTypePropertyBagitemsIEnumerable<KeyValuePair<string, T>>
Type Parameters
T