WritableSettingsStore.SetInt64 方法

更新所指定的属性的值设置为特定长度的值,则将其数据类型。 [!:SettingsType.Int64]时。

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

语法

声明
Public MustOverride Sub SetInt64 ( _
    collectionPath As String, _
    propertyName As String, _
    value As Long _
)
public abstract void SetInt64(
    string collectionPath,
    string propertyName,
    long value
)

参数

  • collectionPath
    类型:System.String
    属性的集合的路径。

异常

异常 条件
ArgumentException

如果集合不存在,会引发此异常。

备注

如果属性以前的数据类型不同,则复盖它。

如果属性不存在它创建一个。

.NET Framework 安全性

请参见

参考

WritableSettingsStore 类

Microsoft.VisualStudio.Settings 命名空间