Método IVsProject2.RemoveItem (UInt32, UInt32, Int32)

 

Publicado: abril de 2016

Remove um item do projeto.

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

Sintaxe

int RemoveItem(
    uint dwReserved,
    uint itemid,
    out int pfResult
)
int RemoveItem(
    unsigned int dwReserved,
    unsigned int itemid,
    [OutAttribute] int% pfResult
)
abstract RemoveItem : 
        dwReserved:uint32 *
        itemid:uint32 *
        pfResult:int byref -> int
Function RemoveItem (
    dwReserved As UInteger,
    itemid As UInteger,
    <OutAttribute> ByRef pfResult As Integer
) As Integer

Parâmetros

  • dwReserved
    [in] Reservado para uso futuro.
  • itemid
    [in] Identificador do item a ser removido.
  • pfResult
    [out, retval] true se o item foi removido com êxito do projeto.

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 IVsProject2::RemoveItem(
   [in] DWORD dwReserved,
   [in] VSITEMID itemid,
   [out, retval] BOOL * pfResult
);

Consulte também

Interface IVsProject2
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo