Compartir a través de


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
Public method CollectionExists Determines whether the given collection exists.
Public method GetBinary Returns the value of the requested property whose data type is SettingsType_Binary.
Public method GetBool Returns a boolean type property.
Public method GetBoolOrDefault Returns a boolean type property value or a specified default value.
Public method GetInt Returns an integer type property value.
Public method GetInt64 Returns a 64-bit integer type property value.
Public method GetInt64OrDefault Returns a 64-bit integer value or a specified default value.
Public method GetIntOrDefault Returns an integer type property or a specified default value.
Public method GetLastWriteTime Returns the last time a value was written in a specified collection, including all its properties and sub-collections.
Public method GetPropertyCount Returns the number of properties in a specified collection.
Public method GetPropertyName Returns the name of a property.
Public method GetPropertyType Returns the type of a specified property.
Public method GetString Returns a string type property value.
Public method GetStringOrDefault Returns a string type property value or a given default string.
Public method GetSubCollectionCount Returns the number of sub-collections in the specified collections.
Public method GetSubCollectionName Returns the name of a sub collection.
Public method GetUnsignedInt Returns an unsigned integer property value.
Public method GetUnsignedInt64 Returns a 64-bit unsigned long integer property value.
Public method GetUnsignedInt64OrDefault Returns a 64-bit unsigned long integer property of a given default value.
Public method GetUnsignedIntOrDefault Returns an unsigned integer property or a given default value.
Public method 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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace