SetValue Method

AtomicComposition.SetValue Method (Object, Object)

.NET Framework (current version)
 

Saves a key-value pair in the transaction to track tentative state.

Namespace:   System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public void SetValue(
	object key,
	object value
)

Parameters

key
Type: System.Object

The key to save.

value
Type: System.Object

The value to save.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show:
© 2016 Microsoft