Share via


GetResolutionScope Method

Retrieves the scope of a given type.

HRESULT GetResolutionScope(
    mdAssembly  AssemblyID,
    mdToken     FileToken,
    mdToken     TargetFile,
    mdToken*    pScope
) PURE;

Parameters

  • AssemblyID
    ID of the assembly.
  • FileToken
    File that is in need of a reference.
  • TargetFile
    Token of file that type is defined in, usually retrieved with ImportFile Method.
  • pScope
    Receives the assembly or module reference.

Return Value

Returns S_OK if the method succeeds.

Requirements

Requires alink.h.

See Also

Concepts

ALink API (Unmanaged API Reference)

Other Resources

IALink Interface
IALink2 Interface