PropertyStoreGetT Method (Object, FuncT) |
Gets a value from the property store with the specified key of a concrete type
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public T Get<T>(
Object key,
Func<T> defaultValue
)
Public Function Get(Of T) (
key As Object,
defaultValue As Func(Of T)
) As T
member Get :
key : Object *
defaultValue : Func<'T> -> 'T
Parameters
- key
- Type: SystemObject
Key of the property to get - defaultValue
- Type: SystemFuncT
Value to return when the specified property is not found in the dictionary
Type Parameters
- T
- The type of property to get.
Return Value
Type:
TValue of the property with the given key, or
defaultValue if not found
See Also