共用方式為


SettingsType Enumeration

Data types of the properties that are stored inside the collections.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'宣告
Public Enumeration SettingsType
public enum SettingsType

Members

Member name Description
Invalid Invalid data type.
Int32 Data type used to store 4 byte (32 bits) properties which are Boolean, Int32 and UInt32.

Note that Boolean is stored as 1 byte in the .NET environment, but as a property inside the SettingsStore, it is kept as 4-byte value and any value other than 0 is converted to true and 0 is converted to false.

Int64 Data type used to store 8-byte (64-bit) properties which are Int64 and UInt64.
String Data type used to store the strings.
Binary Data type used to store byte streams (arrays).

See Also

Reference

Microsoft.VisualStudio.Settings Namespace