IVsWritableSettingsStore.DeleteProperty(String, String) Yöntem

Tanım

Koleksiyondaki bir özelliği siler.

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

Parametreler

collectionPath
String

'ndaki Koleksiyonun yolu.

propertyName
String

'ndaki Silinecek özellik.

Döndürülenler

Int32

S_OKÖzellik silinmişse veya S_FALSE özellik ya da koleksiyon yoksa, döndürür.

Şunlara uygulanır