Skip to content

DataObject.SetData method (1 of 2)

Sets a payload value for the specified format. Overwrites any existing value.

public void SetData(string format, object value)

Sets value under format. Overwrites any existing value.

public void SetData<T>(DataFormat<T> format, T value)
where T : class