Muokkaa

Jaa


GetResolutionScope Method

Retrieves the scope of a given type.

Syntax

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