Skip to content

IClipboardService.HasText method

Returns whether the clipboard currently holds text, without fetching it.

public bool HasText()

Asked whenever a paste command re-evaluates, so an implementation that can answer from a format query should; the default reads the text and throws it away.