Partager via


IVsWritableSettingsStore Interface

Manages an editable store for reading/enumerating and creating/deleting settings. It is obtained from GetWritableSettingsStore. It is derived from the IVsSettingsStore interface to inherit reading/enumerating abilities of that interface.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("16FA7461-9E7C-4F28-B28F-AABBF73C0193")> _
Public Interface IVsWritableSettingsStore _
    Inherits IVsSettingsStore
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("16FA7461-9E7C-4F28-B28F-AABBF73C0193")]
public interface IVsWritableSettingsStore : IVsSettingsStore
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"16FA7461-9E7C-4F28-B28F-AABBF73C0193")]
public interface class IVsWritableSettingsStore : IVsSettingsStore
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("16FA7461-9E7C-4F28-B28F-AABBF73C0193")>]
type IVsWritableSettingsStore =  
    interface 
        interface IVsSettingsStore 
    end
public interface IVsWritableSettingsStore extends IVsSettingsStore

The IVsWritableSettingsStore type exposes the following members.

Methods

  Name Description
Public method _VtblGap1_21
Public method CollectionExists(String, Int32%) Determines whether the given collection exists. (Inherited from IVsSettingsStore.)
Public method CollectionExists(String, Int32%) Determines whether a named collection exists.
Public method CreateCollection Creates a new collection.
Public method DeleteCollection Deletes a collection, as well as all its properties and sub-collections.
Public method DeleteProperty Deletes a property in a collection.
Public method GetBinary(String, String, UInt32, array<Byte[], array<UInt32[]) Returns the value of the requested property whose data type is SettingsType_Binary. (Inherited from IVsSettingsStore.)
Public method GetBinary(String, String, UInt32, array<Byte[], array<UInt32[]) Returns the value of a property of type SettingsType_Binary.
Public method GetBool(String, String, Int32%) Returns a boolean type property. (Inherited from IVsSettingsStore.)
Public method GetBool(String, String, Int32%) Returns a boolean type property.
Public method GetBoolOrDefault(String, String, Int32, Int32%) Returns a boolean type property value or a specified default value. (Inherited from IVsSettingsStore.)
Public method GetBoolOrDefault(String, String, Int32, Int32%) Returns a boolean type property value or a specified default value.
Public method GetInt(String, String, Int32%) Returns an integer type property value. (Inherited from IVsSettingsStore.)
Public method GetInt(String, String, Int32%) Returns an integer type property value.
Public method GetInt64(String, String, Int64%) Returns a 64-bit integer type property value. (Inherited from IVsSettingsStore.)
Public method GetInt64(String, String, Int64%) Returns a 64-bit integer type property value.
Public method GetInt64OrDefault(String, String, Int64, Int64%) Returns a 64-bit integer value or a specified default value. (Inherited from IVsSettingsStore.)
Public method GetInt64OrDefault(String, String, Int64, Int64%) Returns a 64-bit integer value or a specified default value.
Public method GetIntOrDefault(String, String, Int32, Int32%) Returns an integer type property or a specified default value. (Inherited from IVsSettingsStore.)
Public method GetIntOrDefault(String, String, Int32, Int32%) Returns an integer type property or a specified default value.
Public method GetLastWriteTime(String, array<SYSTEMTIME[]) Returns the last time a value was written in a specified collection, including all its properties and sub-collections. (Inherited from IVsSettingsStore.)
Public method GetLastWriteTime(String, array<SYSTEMTIME[]) Returns the last time a value was written in a specified collection, including all its properties and sub-collections.
Public method GetPropertyCount(String, UInt32%) Returns the number of properties in a specified collection. (Inherited from IVsSettingsStore.)
Public method GetPropertyCount(String, UInt32%) Returns the number of properties in a specified collection.
Public method GetPropertyName(String, UInt32, String%) Returns the name of a property. (Inherited from IVsSettingsStore.)
Public method GetPropertyName(String, UInt32, String%) Returns the name of a property.
Public method GetPropertyType(String, String, UInt32%) Returns the type of a specified property. (Inherited from IVsSettingsStore.)
Public method GetPropertyType(String, String, UInt32%) Returns the type of a specified property.
Public method GetString(String, String, String%) Returns a string type property value. (Inherited from IVsSettingsStore.)
Public method GetString(String, String, String%) Returns a string type property value.
Public method GetStringOrDefault(String, String, String, String%) Returns a string type property value or a given default string. (Inherited from IVsSettingsStore.)
Public method GetStringOrDefault(String, String, String, String%) Returns a string type property value or a given default string.
Public method GetSubCollectionCount(String, UInt32%) Returns the number of sub-collections in the specified collections. (Inherited from IVsSettingsStore.)
Public method GetSubCollectionCount(String, UInt32%) Returns the number of sub-collections in the specified collections.
Public method GetSubCollectionName(String, UInt32, String%) Returns the name of a sub collection. (Inherited from IVsSettingsStore.)
Public method GetSubCollectionName(String, UInt32, String%) Returns the name of a sub collection.
Public method GetUnsignedInt(String, String, UInt32%) Returns an unsigned integer property value. (Inherited from IVsSettingsStore.)
Public method GetUnsignedInt(String, String, UInt32%) Returns an unsigned integer property value.
Public method GetUnsignedInt64(String, String, UInt64%) Returns a 64-bit unsigned long integer property value. (Inherited from IVsSettingsStore.)
Public method GetUnsignedInt64(String, String, UInt64%) Returns a 64-bit unsigned long integer property value.
Public method GetUnsignedInt64OrDefault(String, String, UInt64, UInt64%) Returns a 64-bit unsigned long integer property of a given default value. (Inherited from IVsSettingsStore.)
Public method GetUnsignedInt64OrDefault(String, String, UInt64, UInt64%) Returns a 64-bit unsigned long integer property of a given default value.
Public method GetUnsignedIntOrDefault(String, String, UInt32, UInt32%) Returns an unsigned integer property or a given default value. (Inherited from IVsSettingsStore.)
Public method GetUnsignedIntOrDefault(String, String, UInt32, UInt32%) Returns an unsigned integer property or a given default value.
Public method PropertyExists(String, String, Int32%) Determines whether a property exists in a given collection. (Inherited from IVsSettingsStore.)
Public method PropertyExists(String, String, Int32%) Determines whether a property exists in a given collection.
Public method SetBinary Sets the value of a binary property with the specified byte array. If the previous data type of the property is not SettingsType_Binary, this method overwrites it. If the property does not exist, it creates one
Public method SetBool Sets the value of a boolean property. If the previous data type of the property is not SettingsType_Int, this method overwrites it. If the property does not, exist, it creates one.
Public method SetInt Sets the value of an integer property. If the previous data type of the property is not SettingsType_Int, this method overwrites it. If the property does not exist, it creates one.
Public method SetInt64 Sets the value of a 64-bit integer property. If the previous data type of the property is not SettingsType_Int64, it overwrites it. If the property does not exist it creates one.
Public method SetString Sets the value of a string property. If the previous data type of the property is not SettingsType_String, this method overwrites it. If the property does not exist, it creates one.
Public method SetUnsignedInt Sets the value of an unsigned integer property. If the previous data type of the property is not SettingsType_Int, this method overwrites it. If the property does not exist, it creates one.
Public method SetUnsignedInt64 Sets the value of an unsigned 64-bit integer property. If theprevious data type of the property is not SettingsType_Int64, this method overwrites it. If the property does not exist, it creates one.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace