存储在集合中属性的数据类型。
命名空间: Microsoft.VisualStudio.Settings
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
Microsoft.VisualStudio.Settings(在 Microsoft.VisualStudio.Settings.dll 中)
语法
声明
Public Enumeration SettingsType
public enum SettingsType
成员
| 成员名称 | 说明 | |
|---|---|---|
| Invalid | 无效的数据类型。 | |
| Int32 | 使用的数据类型存储布尔 4 个字节 (32 位) 属性, Int32 和 UInt32。
请注意, boolean 存储为 1 个字节在 .NET 环境,但是,作为在 SettingsStore 中的属性,它将保持为 4 字节值,并且 0 以外的任何值转换为 true ,而 0 转换为 false。 |
|
| Int64 | 使用的数据类型存储是 Int64、和的 8 字节 (64 位) 属性。 | |
| String | 使用的数据类型存储字符串。 | |
| Binary | 使用的数据类型存储的限制 (数组)。 |