IVsSettingsStore Interface
Enumerates and reads the selected scope's collections and properties. It is obtained from the GetReadOnlySettingsStore method.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("6B43326C-AB7C-4263-A7EF-354B9DCBF3D8")> _
Public Interface IVsSettingsStore
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("6B43326C-AB7C-4263-A7EF-354B9DCBF3D8")]
public interface IVsSettingsStore
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"6B43326C-AB7C-4263-A7EF-354B9DCBF3D8")]
public interface class IVsSettingsStore
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("6B43326C-AB7C-4263-A7EF-354B9DCBF3D8")>]
type IVsSettingsStore = interface end
public interface IVsSettingsStore
The IVsSettingsStore type exposes the following members.
Methods
Name | Description | |
---|---|---|
CollectionExists | Determines whether the given collection exists. | |
GetBinary | Returns the value of the requested property whose data type is SettingsType_Binary. | |
GetBool | Returns a boolean type property. | |
GetBoolOrDefault | Returns a boolean type property value or a specified default value. | |
GetInt | Returns an integer type property value. | |
GetInt64 | Returns a 64-bit integer type property value. | |
GetInt64OrDefault | Returns a 64-bit integer value or a specified default value. | |
GetIntOrDefault | Returns an integer type property or a specified default value. | |
GetLastWriteTime | Returns the last time a value was written in a specified collection, including all its properties and sub-collections. | |
GetPropertyCount | Returns the number of properties in a specified collection. | |
GetPropertyName | Returns the name of a property. | |
GetPropertyType | Returns the type of a specified property. | |
GetString | Returns a string type property value. | |
GetStringOrDefault | Returns a string type property value or a given default string. | |
GetSubCollectionCount | Returns the number of sub-collections in the specified collections. | |
GetSubCollectionName | Returns the name of a sub collection. | |
GetUnsignedInt | Returns an unsigned integer property value. | |
GetUnsignedInt64 | Returns a 64-bit unsigned long integer property value. | |
GetUnsignedInt64OrDefault | Returns a 64-bit unsigned long integer property of a given default value. | |
GetUnsignedIntOrDefault | Returns an unsigned integer property or a given default value. | |
PropertyExists | Determines whether a property exists in a given collection. |
Top
Remarks
In these methods, if the collection path is given as the empty string (""), then it denotes the top level collection. If the property name is the empty string, then it denotes the default property of the collection. Collections can contain properties and sub-collections. Sub-collection paths are strings, such as the directory paths of file systems. A path contains the names of all the parent collections. The separator used between the names of the parent collections is the backslash character. A sub-collection path has the following form:
Root Collection\Internal Collection\Leaf Collection