ICLRAssemblyReferenceList::IsAssemblyReferenceInList Method
Gets a value that indicates whether the supplied pointer refers to an assembly in the list.
Syntax
HRESULT IsAssemblyReferenceInList (
[in] IUnknown *pName
);
Parameters
pName
[in] An interface pointer to the assembly for which to search. Valid values are of type IAssemblyName
or IReferenceIdentity
.
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: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.