Share via


INativeImageDependency::GetNativeAssemblyDef Method

Gets the native image that corresponds to the managed assembly in the current metadata scope.

HRESULT GetNativeAssemblyDef (
   [out] CORCOMPILE_NGEN_SIGNATURE   *pNativeSign
); 

Parameters

  • pNativeSign
    [out] A pointer to the signature for the native image that corresponds to the managed assembly in the current metadata scope.

Return Value

HRESULT

Description

S_OK

GetNativeAssemblyDef returned successfully.

INVALID_NGEN_SIGNATURE

No hard-bound native image signature exists for the managed assembly in the current metadata scope.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

INativeImageDependency Interface