Table of Contents

Method SetItems

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

SetItems<TEnum>(IFileTypePropertyBag, IEnumerable<KeyValuePair<string, TEnum>>)

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<TEnum>(this IFileTypePropertyBag propertyBag, IEnumerable<KeyValuePair<string, TEnum>> items) where TEnum : struct, Enum

Parameters

propertyBag IFileTypePropertyBag
items IEnumerable<KeyValuePair<string, TEnum>>

Type Parameters

TEnum