--- title: "Array Attributes | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: - "cpp-windows" ms.tgt_pltfrm: "" ms.topic: "language-reference" dev_langs: - "C++" helpviewer_keywords: - "arrays [C++], attributes" ms.assetid: 36f80b76-7f20-41ae-a6bf-460e5379f26b caps.latest.revision: 7 author: "mikeblome" ms.author: "mblome" 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" --- # Array Attributes The following attributes apply to arrays or **SAFEARRAY**s. |Attribute|Description| |---------------|-----------------| |[library_block](../windows/library-block.md)|Places a construct inside the .idl file's library block.| |[satype](../windows/satype.md)|Specifies the data type of the SAFEARRAY structure.| |[string](../windows/string-cpp.md)|Indicates that the one-dimensional `char`, `wchar_t`, **byte** (or equivalent) array or the pointer to such an array must be treated as a string.| ## See Also [Attributes by Usage](../windows/attributes-by-usage.md)