DataObject.GetDataPresent Method (Type)

Checks whether the data is available in, or can be converted to, a specified format. The data format is specified by a Type object. Always throws an exception.

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

public bool GetDataPresent(
	Type format
)

Parameters

format
Type: System.Type
A Type that specifies the format to check for.

Return Value

Type: System.Boolean
Always throws an exception.

Implements

IDataObject.GetDataPresent(Type)

ExceptionCondition
NotImplementedException

Not implemented.

SecurityException

Attempted access in a mode other than Drop.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: