IMetaDataAssemblyImport::GetAssemblyFromScope method (rometadataapi.h)

Gets a pointer to the assembly in the current scope.

Syntax

HRESULT GetAssemblyFromScope(
  [out] mdAssembly *ptkAssembly
);

Parameters

[out] ptkAssembly

A pointer to the retrieved mdAssembly token that identifies the assembly.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataAssemblyImport