Partager via


Factory.HasVstoObject, méthode (ListObject)

Retourne une valeur qui indique si un Microsoft.Office.Tools.Excel.ListObject existe pour l'objet de liste natif spécifié.

Espace de noms :  Microsoft.Office.Tools.Excel
Assembly :  Microsoft.Office.Tools.Excel (dans Microsoft.Office.Tools.Excel.dll)

Syntaxe

'Déclaration
Function HasVstoObject ( _
    listObject As ListObject _
) As Boolean
bool HasVstoObject(
    ListObject listObject
)

Paramètres

Valeur de retour

Type : System.Boolean
true si un Microsoft.Office.Tools.Excel.ListObject existe pour l'objet Microsoft.Office.Interop.Excel.ListObject spécifié ; sinon, false.

Notes

Dans une personnalisation de niveau document, cette méthode retourne true uniquement si l'objet de liste natif est l'objet sous-jacent d'un objet Microsoft.Office.Tools.Excel.ListObject dans la personnalisation active. Sinon, cette méthode retourne false. Pour plus d'informations, consultez Obtention d'objets étendus à partir d'objets Office natifs dans les personnalisations au niveau du document.

Sécurité .NET Framework

Voir aussi

Référence

Factory Interface

HasVstoObject, surcharge

Microsoft.Office.Tools.Excel, espace de noms