Skip to content

IDataObject.TryGetData<T> method (1 of 2)

Attempts to retrieve the value of format, typed by the format.

public bool TryGetData<T>(DataFormat<T> format, out T? value)
where T : class

Attempts to retrieve strongly typed data for the specified format.

public bool TryGetData<T>(string format, out T? value)