Share via


ICLRAssemblyReferenceList::IsStringAssemblyReferenceInList Method

Gets a value that indicates whether the supplied name matches the name of an assembly in the list.

HRESULT IsStringAssemblyReferenceInList (
    [in] LPCWSTR pwzAssemblyName
);

Parameters

  • pwzAssemblyName
    [in] The name of the assembly for which to search.

Return Value

HRESULT Description

S_OK

The string appears in the list.

S_FALSE

The string does not appear in the list.

E_FAIL

An unknown catastrophic failure occurred. After a method returns E_FAIL, the common language runtime is no longer usable within the process. Subsequent calls to hosting methods return HOST_E_CLRNOTAVAILABLE.

Requirements

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

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Reference

ICLRAssemblyIdentityManager Interface
ICLRAssemblyReferenceList Interface
IHostAssemblyManager Interface
IHostAssemblyStore Interface