WritableSettingsStore.DeleteProperty 方法

从集合中删除给定属性。如果属性或集合中不存在该方法返回 false。

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

语法

声明
Public MustOverride Function DeleteProperty ( _
    collectionPath As String, _
    propertyName As String _
) As Boolean
public abstract bool DeleteProperty(
    string collectionPath,
    string propertyName
)

参数

  • collectionPath
    类型:System.String
    包含要删除的属性集合。

返回值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

WritableSettingsStore 类

Microsoft.VisualStudio.Settings 命名空间