다음을 통해 공유


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
Assembly:  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

‘선언
Public MustOverride Function DeleteProperty ( _
    collectionPath As String, _
    propertyName As String _
) As Boolean
‘사용 방법
Dim instance As WritableSettingsStore
Dim collectionPath As String
Dim propertyName As String
Dim returnValue As Boolean

returnValue = instance.DeleteProperty(collectionPath, _
    propertyName)
public abstract bool DeleteProperty(
    string collectionPath,
    string propertyName
)
public:
virtual bool DeleteProperty(
    String^ collectionPath, 
    String^ propertyName
) abstract
abstract DeleteProperty : 
        collectionPath:string * 
        propertyName:string -> bool 
public abstract function DeleteProperty(
    collectionPath : String, 
    propertyName : String
) : boolean

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

WritableSettingsStore Members

Microsoft.VisualStudio.Settings Namespace