• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 繁體中文
    4. Čeština
    5. Deutsch
    6. English (UK)
    7. Español
    8. Français
    9. Magyar
    10. Italiano
    11. 日本語
    12. 한국어
    13. Polski
    14. Português (Brasil)
    15. Русский
AutoCAD 2025 Developer and ObjectARX
    • Customization and Administration Guides
    • DXF Reference
    • AutoLISP and DCL
    • ActiveX and VBA
      • ActiveX: Developer's Guide
      • ActiveX: Reference Guide
      • ActiveX: CAD Standards Plug-ins Reference
      • ActiveX: Sheet Set Object Reference
      • ActiveX: Transmittal Object Reference
      • ActiveX: Connectivity Automation Object Reference
        • Developer's Guide
        • Reference Guide
          • Objects
            • DbConnect Object (ActiveX/CAO)
            • KeyDescription Object (ActiveX/CAO)
            • KeyDescriptions Collection (ActiveX/CAO)
            • KeyValue Object (ActiveX/CAO)
            • KeyValues Collection (ActiveX/CAO)
            • Label Object (ActiveX/CAO)
            • LabelTemplate Object (ActiveX/CAO)
            • LabelTemplates Collection (ActiveX/CAO)
            • Link Object (ActiveX/CAO)
            • Links Collection (ActiveX/CAO)
            • LinkTemplate Object (ActiveX/CAO)
            • LinkTemplates Collection (ActiveX/CAO)
            • Queries Collection (ActiveX/CAO)
            • Query Object (ActiveX/CAO)
          • Events
          • Methods
          • Properties
    • ObjectARX and Managed .NET
    • JavaScript
    • AutoCAD Core Console
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    KeyValues Collection (ActiveX/CAO)

    A set of key values in a link.

    VBA class name: KeyValues

    Create using:

    For VBA: AutoCAD.AcadApplication.GetInterfaceObject("CAO.KeyValues.20")

    Access via: Link.KeyValues

    To add a new member to the collection, use the Add method. To select a specific KeyValue, use the Item method. To edit or query the KeyValues collection, use the following methods and properties:

    Methods Properties Events

    Add

    Item

    Count

    None

    Related Reference

    • CAO Objects, Methods, and Properties Reference (ActiveX/CAO)
    • KeyValue Object (ActiveX/CAO)

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved