IVsWritableSettingsStore.DeleteProperty Method
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)
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.
- propertyName
Type: System.String
[in] The property to delete.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.