--- title: "auto_search | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: - "cpp-tools" ms.tgt_pltfrm: "" ms.topic: "article" f1_keywords: - "auto_search" dev_langs: - "C++" helpviewer_keywords: - "auto_search attribute" ms.assetid: 0fee2503-cd28-4d8c-b4d5-15ca0a91d2d2 caps.latest.revision: 4 author: "corob-msft" ms.author: "corob" manager: "ghogen" translation.priority.ht: - "cs-cz" - "de-de" - "es-es" - "fr-fr" - "it-it" - "ja-jp" - "ko-kr" - "pl-pl" - "pt-br" - "ru-ru" - "tr-tr" - "zh-cn" - "zh-tw" --- # auto_search **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 ``` auto_search ``` ## Remarks **END C++ Specific** ## See Also [#import Attributes](../preprocessor/hash-import-attributes-cpp.md) [#import Directive](../preprocessor/hash-import-directive-cpp.md)