Export (0) Print
Expand All

IMetaDataAssemblyImport::GetAssemblyProps Method

Gets the set of properties for the assembly with the specified metadata signature.


HRESULT GetAssemblyProps (
    [in]  mdAssembly          mda,
    [out] const void          **ppbPublicKey, 
    [out] ULONG               *pcbPublicKey,
    [out] ULONG               *pulHashAlgId,
    [out] LPWSTR              szName,
    [in] ULONG                cchName,
    [out] ULONG               *pchName,
    [out] ASSEMBLYMETADATA    *pMetaData,
    [out] DWORD               *pdwAssemblyFlags
);

Parameters

Parameter Description

mda

[in]. The mdAssembly metadata token that represents the assembly for which to get the properties.

ppbPublicKey

[out] A pointer to the public key or the metadata token.

pcbPublicKey

[out] The number of bytes in the returned public key.

pulHashAlgId

[out] A pointer to the algorithm used to hash the files in the assembly.

szName

[out] The simple name of the assembly.

cchName

[in] The size, in wide chars, of szName.

pchName

[out] The number of wide chars actually returned in szName.

pMetaData

[out] A pointer to an ASSEMBLYMETADATA Structure structure that contains the assembly metadata.

pdwAssemblyFlags

[out] Flags that describe the metadata applied to an assembly. This value is a combination of one or more CorAssemblyFlags Enumeration values.

Platform: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft