PropertyStoreGetT Method (Object, T) |
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,
T defaultValue = null
)
Public Function Get(Of T) (
key As Object,
Optional defaultValue As T = Nothing
) As T
member Get :
key : Object *
?defaultValue : 'T
(* Defaults:
let _defaultValue = defaultArg defaultValue null
*)
-> 'T
Parameters
- key
- Type: SystemObject
Key of the property to get - defaultValue (Optional)
- Type: T
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