Compartir a través de


IPropertyProxyEESide::ResolveAssemblyRef

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Determines the location of the specified managed assembly reference.

Syntax

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