Table of Contents

Method GetValue

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

GetValue(IPropertyBag2, PropertyBagKey)

public static object? GetValue(this IPropertyBag2 propertyBag, PropertyBagKey key)

Parameters

propertyBag IPropertyBag2
key PropertyBagKey

Returns

object

GetValue<T>(IPropertyBag2, PropertyBagKey<T>)

public static T? GetValue<T>(this IPropertyBag2 propertyBag, PropertyBagKey<T> key)

Parameters

propertyBag IPropertyBag2
key PropertyBagKey<T>

Returns

T

Type Parameters

T