Método IVsWritableSettingsStore.DeleteProperty (String, String)

 

Exclui uma propriedade em uma coleção.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (em Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Sintaxe

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

Parâmetros

  • collectionPath
    [in] O caminho para a coleção.
  • propertyName
    [in] A propriedade para excluir.

Valor de retorno

Type: System.Int32

Retorna T:Microsoft.VisualStudio.VSConstants.S_OK se a propriedade foi excluída, ou T:Microsoft.VisualStudio.VSConstants.S_FALSE se a propriedade ou a coleção não existe.

Consulte também

Interface IVsWritableSettingsStore
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo