[]
        
(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)
Public Sub [Set](name As String, value As Object)
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)
Public Sub [Set](Of T1, T2)(propertyKey As PropertyBagKey(Of T1, T2), value As T1)
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.