Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns a Microsoft.Office.Tools.Excel.ListObject that extends the functionality of the specified native list object.
Namespace: Microsoft.Office.Tools.Excel
Assemblies: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Function GetVstoObject ( _
listObject As ListObject _
) As ListObject
ListObject GetVstoObject(
ListObject listObject
)
Parameters
listObject
Type: ListObjectThe native list object for which to retrieve the extended object.
Return Value
Type: Microsoft.Office.Tools.Excel.ListObject
The object that extends the functionality of the native list object, if the list object is the underlying object of a Microsoft.Office.Tools.Excel.ListObject object in the current document-level customization; otherwise, nulla null reference (Nothing in Visual Basic).
Remarks
In a document-level customization, you cannot use this method to generate a new extended Microsoft.Office.Tools.Excel.ListObject object for a native list object. You can use this method only to get a Microsoft.Office.Tools.Excel.ListObject object that is in the current customization. For more information, see Programming Document-Level Customizations.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.