Table of Contents

Method Set

Namespace
PaintDotNet.ComponentModel
Assembly
PaintDotNet.Windows.Core.dll

Set(IPropertyBag2, PropertyBagKey, object?)

public static void Set(this IPropertyBag2 propertyBag, PropertyBagKey key, object? value)

Parameters

propertyBag IPropertyBag2
key PropertyBagKey
value object

Set<T>(IPropertyBag2, PropertyBagKey<T>, T?)

public static void Set<T>(this IPropertyBag2 propertyBag, PropertyBagKey<T> key, T? value)

Parameters

propertyBag IPropertyBag2
key PropertyBagKey<T>
value T

Type Parameters

T