GetScope Method

Gets an import scope.

Syntax

HRESULT GetScope(  
    mdAssembly AssemblyID,  
    mdToken FileToken,  
    DWORD dwScope,  
    IMetaDataImport** ppImportScope  
) PURE;  

Parameters

AssemblyID
Unique ID of assembly to import to.

FileToken
Unique ID of the file to import from.

dwScope
Zero-based scope to import.

ppImportScope
Receives IMetaDataImport Interface interface for the scope.

Return Value

Returns S_OK if the method succeeds.

Requirements

Requires alink.h

See also