共用方式為


IPropertyProxyEESide::ResolveAssemblyRef

Determines the location of the specified managed assembly reference.

HRESULT ResolveAssemblyRef(
   BSTR*                  assemName,
   IEEDataStorage**       assemBytes,
   IEEDataStorage**       assemPdb,
   BSTR*                  assemLocation,
   ASSEMBLYLOCRESOLUTION* alr
);
int ResolveAssemblyRef(
   ref string                     assemName,
   out IEEDataStorage             assemBytes,
   out IEEDataStorage             assemPdb,
   out string                     assemLocation,
   out enum_ASSEMBLYLOCRESOLUTION alr
);

Parameters

  • assemName
    [in] Name of the assembly to resolve.

  • assemBytes
    [out] Returns an IEEDataStorage object containing the assembly bytes associated with the reference.

  • assemPdb
    [out] Returns an IEEDataStorage object containing the symbol store data associated with this reference.

  • assemLocation
    [out] Returns the path location of this reference.

  • alr
    [out] Returns a value from the ASSEMBLYLOCRESOLUTION enumeration indicating the location of this reference's assembly.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

This method is not typically implemented by a custom expression evaluator.

See Also

Reference

IPropertyProxyEESide

IEEDataStorage

ASSEMBLYLOCRESOLUTION