Share via


IAssemblyCache::CreateAssemblyCacheItem Method

Gets a reference to a new IAssemblyCacheItem object.

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: See .NET Framework System Requirements.

Header: Fusion.h

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

IAssemblyCache Interface

IAssemblyCacheItem Interface