[]
        
(Showing Draft Content)

C1.Util.DX.Storage.PropertyBag.Get

Get Method

Get(string)

Gets the value of the property with this name.

Declaration
public object Get(string name)
Parameters
Type Name Description
string name

The name.

Returns
Type Description
object

Value of the property

Get<T1, T2>(PropertyBagKey<T1, T2>)

Gets the value of the property by using a PropertyBagKey<T1, T2>

Declaration
public T1 Get<T1, T2>(PropertyBagKey<T1, T2> propertyKey)
Parameters
Type Name Description
PropertyBagKey<T1, T2> propertyKey

The property key.

Returns
Type Description
T1

Value of the property

Type Parameters
Name Description
T1

The public type of this property.

T2

The marshaling type of this property.