WritableSettingsStore.DeleteProperty(String, String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
Silmenin sonucu.