ClipboardObject.GetDataPresent, méthode (Type)

Indique si les données stockées dans l'objet du presse-papiers peuvent être converties à ou est associé au format spécifié.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Public Overrides Function GetDataPresent ( _
    format As Type _
) As Boolean
public override bool GetDataPresent(
    Type format
)
public:
virtual bool GetDataPresent(
    Type^ format
) override
abstract GetDataPresent : 
        format:Type -> bool 
override GetDataPresent : 
        format:Type -> bool 
public override function GetDataPresent(
    format : Type
) : boolean

Paramètres

  • format
    Type : System.Type
    Le type de classe associée aux données.

Valeur de retour

Type : System.Boolean
true si les données peuvent être converties à ou sont associées au format spécifié ; sinon, false.

Implémentations

IDataObject.GetDataPresent(Type)

Notes

Cette méthode délègue l'appel à la méthode d' GetDataPresent de classe d' DataObject .

Sécurité .NET Framework

Voir aussi

Référence

ClipboardObject Classe

GetDataPresent, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms