Method GetValue
- Namespace
- PaintDotNet.ComponentModel
- Assembly
- PaintDotNet.Windows.Core.dll
GetValue(IPropertyBag2, PropertyBagKey)
public static object? GetValue(this IPropertyBag2 propertyBag, PropertyBagKey key)
Parameters
propertyBag
IPropertyBag2key
PropertyBagKey
Returns
GetValue<T>(IPropertyBag2, PropertyBagKey<T>)
public static T? GetValue<T>(this IPropertyBag2 propertyBag, PropertyBagKey<T> key)
Parameters
propertyBag
IPropertyBag2key
PropertyBagKey<T>
Returns
- T
Type Parameters
T