Metoda IVsWritableSettingsStore.DeleteProperty — (String, String)
Usuwa właściwość w kolekcji.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int DeleteProperty(
string collectionPath,
string propertyName
)
int DeleteProperty(
String^ collectionPath,
String^ propertyName
)
abstract DeleteProperty :
collectionPath:string *
propertyName:string -> int
Function DeleteProperty (
collectionPath As String,
propertyName As String
) As Integer
Parametry
- collectionPath
[w] Ścieżka do kolekcji.
- propertyName
[w] Właściwość do usunięcia.
Wartość zwracana
Type: System.Int32
Zwraca T:Microsoft.VisualStudio.VSConstants.S_OK , jeśli właściwość została usunięta, lub T:Microsoft.VisualStudio.VSConstants.S_FALSE , jeśli właściwość lub kolekcji nie istnieje.
Zobacz też
Interfejs IVsWritableSettingsStore
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku