Click or drag to resize

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
)

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: T
Value of the property with the given key, or defaultValue if not found
See Also