IVsWritableSettingsStore.DeleteCollection(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.
Bir koleksiyonun yanı sıra tüm özelliklerini ve alt koleksiyonlarını da siler.
public:
int DeleteCollection(System::String ^ collectionPath);
public:
int DeleteCollection(Platform::String ^ collectionPath);
int DeleteCollection(std::wstring const & collectionPath);
public int DeleteCollection (string collectionPath);
abstract member DeleteCollection : string -> int
Public Function DeleteCollection (collectionPath As String) As Integer
Parametreler
- collectionPath
- String
'ndaki Silinecek koleksiyonun yolu.
Döndürülenler
S_OKKoleksiyonun silinip silinmediğini döndürür. Koleksiyon yoksa veya boş bir dize ("") geçirilirse, döndürür S_FALSE .