IVsWritableSettingsStore::DeleteProperty Method (String^, String^)

 

Deletes a property in a collection.

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

int DeleteProperty(
	String^ collectionPath,
	String^ propertyName
)

Parameters

collectionPath
Type: System::String^

[in] The path to the collection.

propertyName
Type: System::String^

[in] The property to delete.

Return Value

Type: System::Int32

Returns T:Microsoft.VisualStudio.VSConstants.S_OK if the property was deleted, or T:Microsoft.VisualStudio.VSConstants.S_FALSE if the property or collection does not exist.

Return to top
Show: