StagingAreaInputItem.SetData Method (Object, Object)

 

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

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

[SecurityCriticalAttribute]
[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.

UIPermission

for calling this method. Associated enumerations: PermissionState.Unrestricted

.NET Framework
Available since 3.0
Return to top
Show: