[]
        
(Showing Draft Content)

C1.Util.DX.Storage.PropertyBag.Set

Set Method

Set(string, object)

Sets the value of the property with this name

Declaration
public void Set(string name, object value)
Parameters
Type Name Description
string name

The name.

object value

The value.

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

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

Declaration
public void Set<T1, T2>(PropertyBagKey<T1, T2> propertyKey, T1 value)
Parameters
Type Name Description
PropertyBagKey<T1, T2> propertyKey

The property key.

T1 value

The value.

Type Parameters
Name Description
T1

The public type of this property.

T2

The marshaling type of this property.