IVsWritableSettingsStore 接口

管理读取/删除枚举可编辑的单元并创建/设置。它从 GetWritableSettingsStore获取。它从 IVsSettingsStore 接口导出继承读取/该接口的枚举功能。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:   Microsoft.VisualStudio.Shell.Interop.10.0(在 Microsoft.VisualStudio.Shell.Interop.10.0.dll 中)
  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
<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

IVsWritableSettingsStore 类型公开以下成员。

方法

  名称 说明
公共方法 _VtblGap1_21
公共方法 CollectionExists(String, Int32%) 确定给定的集合是否存在。 (继承自 IVsSettingsStore。)
公共方法 CollectionExists(String, Int32%) 确定命名集合是否存在。
公共方法 CreateCollection 创建新集合。
公共方法 DeleteCollection 删除集合、以及其所有属性和子集合。
公共方法 DeleteProperty 删除该集合中的属性。
公共方法 GetBinary(String, String, UInt32, array<Byte[], array<UInt32[]) 返回数据类型是 SettingsType_Binary请求的属性的值。 (继承自 IVsSettingsStore。)
公共方法 GetBinary(String, String, UInt32, array<Byte[], array<UInt32[]) 返回类型 SettingsType_Binary属性的值。
公共方法 GetBool(String, String, Int32%) 返回布尔值类型属性。 (继承自 IVsSettingsStore。)
公共方法 GetBool(String, String, Int32%) 返回布尔值类型属性。
公共方法 GetBoolOrDefault(String, String, Int32, Int32%) 返回布尔值类型属性值或一个指定的默认值。 (继承自 IVsSettingsStore。)
公共方法 GetBoolOrDefault(String, String, Int32, Int32%) 返回布尔值类型属性值或一个指定的默认值。
公共方法 GetInt(String, String, Int32%) 返回整数类型属性值。 (继承自 IVsSettingsStore。)
公共方法 GetInt(String, String, Int32%) 返回整数类型属性值。
公共方法 GetInt64(String, String, Int64%) 返回一个 64 位整数类型属性值。 (继承自 IVsSettingsStore。)
公共方法 GetInt64(String, String, Int64%) 返回一个 64 位整数类型属性值。
公共方法 GetInt64OrDefault(String, String, Int64, Int64%) 返回一个 64位整数值或一个指定的默认值。 (继承自 IVsSettingsStore。)
公共方法 GetInt64OrDefault(String, String, Int64, Int64%) 返回一个 64位整数值或一个指定的默认值。
公共方法 GetIntOrDefault(String, String, Int32, Int32%) 返回整数类型属性或一个指定的默认值。 (继承自 IVsSettingsStore。)
公共方法 GetIntOrDefault(String, String, Int32, Int32%) 返回整数类型属性或一个指定的默认值。
公共方法 GetLastWriteTime(String, array<SYSTEMTIME[]) 返回值在指定集合编写的上次,包括其所有属性和子集合。 (继承自 IVsSettingsStore。)
公共方法 GetLastWriteTime(String, array<SYSTEMTIME[]) 返回值在指定集合编写的上次,包括其所有属性和子集合。
公共方法 GetPropertyCount(String, UInt32%) 返回属性数。指定集合的。 (继承自 IVsSettingsStore。)
公共方法 GetPropertyCount(String, UInt32%) 返回属性数。指定集合的。
公共方法 GetPropertyName(String, UInt32, String%) 返回属性的名称。 (继承自 IVsSettingsStore。)
公共方法 GetPropertyName(String, UInt32, String%) 返回属性的名称。
公共方法 GetPropertyType(String, String, UInt32%) 返回指定的属性的类型。 (继承自 IVsSettingsStore。)
公共方法 GetPropertyType(String, String, UInt32%) 返回指定的属性的类型。
公共方法 GetString(String, String, String%) 返回字符串类型属性值。 (继承自 IVsSettingsStore。)
公共方法 GetString(String, String, String%) 返回字符串类型属性值。
公共方法 GetStringOrDefault(String, String, String, String%) 返回字符串类型属性值或特定默认字符串。 (继承自 IVsSettingsStore。)
公共方法 GetStringOrDefault(String, String, String, String%) 返回字符串类型属性值或特定默认字符串。
公共方法 GetSubCollectionCount(String, UInt32%) 返回子回收的次数在指定的集合中。 (继承自 IVsSettingsStore。)
公共方法 GetSubCollectionCount(String, UInt32%) 返回子回收的次数在指定的集合中。
公共方法 GetSubCollectionName(String, UInt32, String%) 返回子集合的名称。 (继承自 IVsSettingsStore。)
公共方法 GetSubCollectionName(String, UInt32, String%) 返回子集合的名称。
公共方法 GetUnsignedInt(String, String, UInt32%) 返回一个无符号整数值。 (继承自 IVsSettingsStore。)
公共方法 GetUnsignedInt(String, String, UInt32%) 返回一个无符号整数值。
公共方法 GetUnsignedInt64(String, String, UInt64%) 返回一个 64 位无符号长整数值。 (继承自 IVsSettingsStore。)
公共方法 GetUnsignedInt64(String, String, UInt64%) 返回一个 64 位无符号长整数值。
公共方法 GetUnsignedInt64OrDefault(String, String, UInt64, UInt64%) 返回给定默认的 64 位无符号长整数属性。 (继承自 IVsSettingsStore。)
公共方法 GetUnsignedInt64OrDefault(String, String, UInt64, UInt64%) 返回给定默认的 64 位无符号长整数属性。
公共方法 GetUnsignedIntOrDefault(String, String, UInt32, UInt32%) 返回一个无符号整数属性或特定的默认值。 (继承自 IVsSettingsStore。)
公共方法 GetUnsignedIntOrDefault(String, String, UInt32, UInt32%) 返回一个无符号整数属性或特定的默认值。
公共方法 PropertyExists(String, String, Int32%) 确定属性是否存在给定集合。 (继承自 IVsSettingsStore。)
公共方法 PropertyExists(String, String, Int32%) 确定属性是否存在给定集合。
公共方法 SetBinary 设置二进制属性的值与指定的字节数组的。如果属性以前的数据类型不是 SettingsType_Binary,此方法将其复盖。如果属性不存在,则创建一个
公共方法 SetBool 设置布尔属性的值。如果属性以前的数据类型不是 SettingsType_Int,此方法将其复盖。如果属性,不存在,则创建一个。
公共方法 SetInt 设置整数属性的值。如果属性以前的数据类型不是 SettingsType_Int,此方法将其复盖。如果属性不存在,则创建一个。
公共方法 SetInt64 设置一个 64位整数属性的值。如果属性以前的数据类型不是 SettingsType_Int64,则复盖它。如果属性不存在它创建一个。
公共方法 SetString 设置字符串属性的值。如果属性以前的数据类型不是 SettingsType_String,此方法将其复盖。如果属性不存在,则创建一个。
公共方法 SetUnsignedInt 设置无符号整数属性的值。如果属性以前的数据类型不是 SettingsType_Int,此方法将其复盖。如果属性不存在,则创建一个。
公共方法 SetUnsignedInt64 设置无符号 64 位整数属性的值。如果属性的 theprevious 数据类型不是 SettingsType_Int64,此方法将其复盖。如果属性不存在,则创建一个。

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间