WritableSettingsStore.DeleteProperty Method

Deletes the given property from the collection. If the property or the collection does not exist then the method returns false.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'Declaração
Public MustOverride Function DeleteProperty ( _
    collectionPath As String, _
    propertyName As String _
) As Boolean
public abstract bool DeleteProperty(
    string collectionPath,
    string propertyName
)

Parameters

  • collectionPath
    Type: System.String
    Collection that contains the property to be deleted.

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

WritableSettingsStore Class

Microsoft.VisualStudio.Settings Namespace