ContextItemManager.SetValue Method

When overridden in a derived class, sets a context item to the specified value.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

public abstract void SetValue(
	ContextItem value
)

Parameters

value
Type: Microsoft.Windows.Design.ContextItem
The value to set into the context item manager. Cannot be null.

Do not accept null as a parameter in your implementation. If you want to set a context item to an empty value, create an instance of the item by using a default constructor.

Community Additions

ADD
Show: