ClipboardObject.GetDataPresent, méthode (Type)

Indique si les données stockées dans l'objet de 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 : Type

    Le type de classe associée aux données.

Valeur de retour

Type : 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 GetDataPresent de classe DataObject.

Sécurité .NET Framework

Voir aussi

Référence

ClipboardObject Classe

GetDataPresent, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms