StagingAreaInputItem.SetData Method

Creates a dictionary entry by using the specified key and the specified data.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

[UIPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public void SetData(
	Object key,
	Object value
)

Parameters

key
Type: System.Object

An arbitrary key for the data. This cannot be null.

value
Type: System.Object

The data to set for this key. This can be null.

This data is used during the processing of this input event.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft