Share via


IAssemblyCache::CreateAssemblyCacheItem Method

Gets a reference to a new IAssemblyCacheItem Interface.

HRESULT CreateAssemblyCacheItem (
    [in]  DWORD dwFlags,
    [in]  PVOID pvReserved,
    [out] IAssemblyCacheItem **ppAsmItem,
    [in, optional] LPCWSTR pszAssemblyName
);

Parameters

  • dwFlags
    [in] Flags defined in Fusion.idl. The following values are supported:

    • IASSEMBLYCACHE_INSTALL_FLAG_REFRESH (0x00000001)

    • IASSEMBLYCACHE_INSTALL_FLAG_FORCE_REFRESH (0x00000002)

  • pvReserved
    [in] Reserved for future extensibility. pvReserved must be a null reference.
  • ppAsmItem
    [out] The returned IAssemblyCacheItem pointer.
  • pszAssemblyName
    [in, optional] Uncanonicalized, comma-separated name=value pairs.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Fusion.h

.NET Framework Version: 2.0

See Also

Reference

IAssemblyCache Interface
IAssemblyCacheItem Interface