Udostępnij za pośrednictwem


Metoda IVsPersistHierarchyItem2.ReloadItem — (UInt32, UInt32)

 

Wywołana, aby ponownie załadować elementu projektu.

Przestrzeń nazw:   Microsoft.VisualStudio.Shell.Interop
Zestaw:  Microsoft.VisualStudio.Shell.Interop (w Microsoft.VisualStudio.Shell.Interop.dll)

Składnia

int ReloadItem(
    uint itemid,
    uint dwReserved
)
int ReloadItem(
    unsigned int itemid,
    unsigned int dwReserved
)
abstract ReloadItem : 
        itemid:uint32 *
        dwReserved:uint32 -> int
Function ReloadItem (
    itemid As UInteger,
    dwReserved As UInteger
) As Integer

Parametry

  • itemid
    [w] Specifies itemid from VSITEMID.
  • dwReserved
    [w] Double word zawierających zarezerwowane.

Wartość zwracana

Type: System.Int32

Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.

Uwagi

Podpis COM

Z vsshell.idl:

HRESULT IVsPersistHierarchyItem2::ReloadItem(
   [in] VSITEMID itemid,
   [in] DWORD dwReserved
);

Zobacz też

Interfejs IVsPersistHierarchyItem2
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop

Powrót do początku