IVsWritableSettingsStore.DeleteProperty Method

Deletes a property in a collection.

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

Syntax

'Declaration
Function DeleteProperty ( _
    collectionPath As String, _
    propertyName As String _
) As Integer
int DeleteProperty(
    string collectionPath,
    string propertyName
)
int DeleteProperty(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName
)
abstract DeleteProperty : 
        collectionPath:string * 
        propertyName:string -> int
function DeleteProperty(
    collectionPath : String, 
    propertyName : String
) : int

Parameters

  • collectionPath
    Type: System.String

    [in] The path to the collection.

Return Value

Type: System.Int32
Returns S_OK if the property was deleted, or S_FALSE if the property or collection does not exist.

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace