DataObject.GetDataPresent Method

Checks to see whether the data is available in, or can be converted to, a specified format. Use only the GetDataPresent(String) signature; the others always throw exceptions.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetDataPresent(String) Checks to see whether the data is available in, or can be converted to, a specified format; the data format is specified by a string.
Public method GetDataPresent(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.
Public method GetDataPresent(String, Boolean) Checks whether the data is available in, or can be converted to, a specified format. A Boolean flag indicates whether to check if the data can be converted to the specified format, if it is not available in that format. Always throws an exception.
Top

Community Additions

ADD
Show: