Namespace:
RainWorx.FrameWorx.Utility
Assembly: RainWorx.FrameWorx.Utility (in RainWorx.FrameWorx.Utility.dll) Version: 3.5
Assembly: RainWorx.FrameWorx.Utility (in RainWorx.FrameWorx.Utility.dll) Version: 3.5
Syntax
C#
public static T GetPropertyValue<T>( this PropertyBag properties, string key, T defaultValue ) where T : IConvertible
Parameters
- properties
- Type: RainWorx.FrameWorx.DTOPropertyBag
- key
- Type: SystemString
- defaultValue
- Type: T
Type Parameters
- T
Return Value
Type: TUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type PropertyBag. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also