Partilhar via


Método IVsShellPropertyEvents.OnShellPropertyChange (Int32, Object)

 

Chamado quando um alterações de propriedade do shell.

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

Sintaxe

int OnShellPropertyChange(
    int propid,
    object var
)
int OnShellPropertyChange(
    int propid,
    Object^ var
)
abstract OnShellPropertyChange : 
        propid:int *
        var:Object -> int
Function OnShellPropertyChange (
    propid As Integer,
    var As Object
) As Integer

Parâmetros

  • propid
    [in] ID da propriedade que alterada.
  • var
    [in], o novo valor da propriedade.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell.idl:

HRESULT IVsShellPropertyEvents::OnShellPropertyChange(
   [in] VSSPROPID propid, 
   [in] VARIANT var);

Consulte também

Interface IVsShellPropertyEvents
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo