WritableSettingsStore.DeleteCollection 方法

删除递归删除所有子集合和属性的特定集合。它。如果集合不存在或为空字符串 ("") 然后将该方法返回 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 DeleteCollection ( _
    collectionPath As String _
) As Boolean
public abstract bool DeleteCollection(
    string collectionPath
)

参数

  • collectionPath
    类型:System.String
    要删除的集合的路径。

返回值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

WritableSettingsStore 类

Microsoft.VisualStudio.Settings 命名空间