GetScope2 Method

Gets an import scope.

Syntax

HRESULT GetScope2(  
    mdAssembly AssemblyID,  
    mdToken FileToken,  
    DWORD dwScope,  
    IMetaDataImport2** ppImportScope  
) PURE;

Parameters

AssemblyID
ID of target assembly.

FileToken
ID of file from which to import.

dwScope
Zero-based scope to import.

ppImportScope
Receives pointer to IMetaDataImport2 Interface interface for indicated scope.

Return Value

Returns S_OK if the method succeeds.

Requirements

Requires alink.h.

See also