This documentation is archived and is not being maintained.

CreateAssemblyNameObject Function

Gets an interface pointer to an IAssemblyName instance that represents the unique identity of the assembly with the specified name.

HRESULT CreateAssemblyNameObject (
    [out] LPASSEMBLYNAME  *ppAssemblyNameObj,
    [in]  LPCWSTR         szAssemblyName,
    [in]  DWORD           dwFlags,
    [in]  LPVOID          pvReserved
 );

ppAssemblyNameObj

[out] The returned IAssemblyName.

szAssemblyName

[in] The name of the assembly for which to create the new IAssemblyName instance.

dwFlags

[in] Flags to pass to the object constructor.

pvReserved

[in] Reserved for future extensibility. pvReserved must be a null reference.

Platforms: See .NET Framework System Requirements.

Header: Fusion.h

Library: Included as a resource in MsCorEE.dll

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

Show: