WritableSettingsStore.DeleteProperty(String, String) Yöntem

Tanım

Verilen özelliği koleksiyondan siler. Özellik veya koleksiyon yoksa, yöntemi döndürür false .

public:
 abstract bool DeleteProperty(System::String ^ collectionPath, System::String ^ propertyName);
public:
 abstract bool DeleteProperty(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 abstract bool DeleteProperty(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract bool DeleteProperty (string collectionPath, string propertyName);
abstract member DeleteProperty : string * string -> bool
Public MustOverride Function DeleteProperty (collectionPath As String, propertyName As String) As Boolean

Parametreler

collectionPath
String

Silinecek özelliği içeren koleksiyon.

propertyName
String

Özelliğin adı.

Döndürülenler

Boolean

Silmenin sonucu.

Şunlara uygulanır