--- description: "Learn more about: auto_search import attribute" title: "auto_search import attribute" ms.date: "08/29/2019" f1_keywords: ["auto_search"] helpviewer_keywords: ["auto_search attribute"] ms.assetid: 0fee2503-cd28-4d8c-b4d5-15ca0a91d2d2 --- # auto_search import attribute **C++ Specific** Specifies that, when a type library is referenced with `#import` and itself references another type library, the compiler can do an implicit `#import` for the other type library. ## Syntax > **#import** *type-library* **auto_search** ## Remarks **END C++ Specific** ## See also [#import attributes](../preprocessor/hash-import-attributes-cpp.md)\ [#import directive](../preprocessor/hash-import-directive-cpp.md)