Freigeben über


GetScope Method

Gets an import scope.

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.

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