Compartilhar via


IVsWritableSettingsStore Interface

Definition

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

public interface class IVsWritableSettingsStore : Microsoft::VisualStudio::Shell::Interop::IVsSettingsStore
public interface class IVsWritableSettingsStore : Microsoft::VisualStudio::Shell::Interop::IVsSettingsStore
__interface IVsWritableSettingsStore : Microsoft::VisualStudio::Shell::Interop::IVsSettingsStore
public interface IVsWritableSettingsStore : Microsoft.VisualStudio.Shell.Interop.IVsSettingsStore
[System.Runtime.InteropServices.Guid("16FA7461-9E7C-4F28-B28F-AABBF73C0193")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWritableSettingsStore : Microsoft.VisualStudio.Shell.Interop.IVsSettingsStore
type IVsWritableSettingsStore = interface
    interface IVsSettingsStore
[<System.Runtime.InteropServices.Guid("16FA7461-9E7C-4F28-B28F-AABBF73C0193")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWritableSettingsStore = interface
    interface IVsSettingsStore
Public Interface IVsWritableSettingsStore
Implements IVsSettingsStore
Attributes
Implements

Remarks

This interface is safe to access from any thread.

Methods

CollectionExists(String, Int32)

Determines whether a named collection exists.

CreateCollection(String)

Creates a new collection.

DeleteCollection(String)

Deletes a collection, as well as all its properties and sub-collections.

DeleteProperty(String, String)

Deletes a property in a collection.

GetBinary(String, String, UInt32, Byte[], UInt32[])

Returns the value of a property of type SettingsType_Binary.

GetBool(String, String, Int32)

Returns a boolean type property.

GetBoolOrDefault(String, String, Int32, Int32)

Returns a boolean type property value or a specified default value.

GetInt(String, String, Int32)

Returns an integer type property value.

GetInt64(String, String, Int64)

Returns a 64-bit integer type property value.

GetInt64OrDefault(String, String, Int64, Int64)

Returns a 64-bit integer value or a specified default value.

GetIntOrDefault(String, String, Int32, Int32)

Returns an integer type property or a specified default value.

GetLastWriteTime(String, SYSTEMTIME[])

Returns the last time a value was written in a specified collection, including all its properties and sub-collections.

GetPropertyCount(String, UInt32)

Returns the number of properties in a specified collection.

GetPropertyName(String, UInt32, String)

Returns the name of a property.

GetPropertyType(String, String, UInt32)

Returns the type of a specified property.

GetString(String, String, String)

Returns a string type property value.

GetStringOrDefault(String, String, String, String)

Returns a string type property value or a given default string.

GetSubCollectionCount(String, UInt32)

Returns the number of sub-collections in the specified collections.

GetSubCollectionName(String, UInt32, String)

Returns the name of a sub collection.

GetUnsignedInt(String, String, UInt32)

Returns an unsigned integer property value.

GetUnsignedInt64(String, String, UInt64)

Returns a 64-bit unsigned long integer property value.

GetUnsignedInt64OrDefault(String, String, UInt64, UInt64)

Returns a 64-bit unsigned long integer property of a given default value.

GetUnsignedIntOrDefault(String, String, UInt32, UInt32)

Returns an unsigned integer property or a given default value.

PropertyExists(String, String, Int32)

Determines whether a property exists in a given collection.

SetBinary(String, String, UInt32, Byte[])

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

SetBool(String, String, Int32)

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.

SetInt(String, String, Int32)

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.

SetInt64(String, String, Int64)

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.

SetString(String, String, String)

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.

SetUnsignedInt(String, String, UInt32)

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.

SetUnsignedInt64(String, String, UInt64)

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.

Applies to