Delen via


ClipboardObject.GetDataPresent Method (String)

Indicates whether data stored in the clipboard object can be converted to or is associated with the specified format.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overrides Function GetDataPresent ( _
    format As String _
) As Boolean
public override bool GetDataPresent(
    string format
)
public:
virtual bool GetDataPresent(
    String^ format
) override
abstract GetDataPresent : 
        format:string -> bool  
override GetDataPresent : 
        format:string -> bool
public override function GetDataPresent(
    format : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the data can be converted to or is associated with the specified format; otherwise, false.

Implements

IDataObject.GetDataPresent(String)

Remarks

This method delegates the call to the GetDataPresent method of the DataObject class.

.NET Framework Security

See Also

Reference

ClipboardObject Class

GetDataPresent Overload

Microsoft.VisualStudio.Data.Framework Namespace