IMetaDataAssemblyEmit::SetAssemblyProps Method
Modifies the specified Assembly metadata structure.
HRESULT SetAssemblyProps (
[in] mdAssembly pma,
[in] const void *pbPublicKey,
[in] ULONG cbPublicKey,
[in] ULONG ulHashAlgId,
[in] LPCWSTR szName,
[in] const ASSEMBLYMETADATA *pMetaData,
[in] DWORD dwAssemblyFlags
);
Parameters
pma
[in] The metadata token that specifies the Assembly metadata structure to be modified.pbPublicKey
[in] A pointer to the public key of the publisher of the assembly.cbPublicKey
[in] The size in bytes of pbPublicKey.ulHashAlgId
[in] The identifier for the hash algorithm used to hash the assembly files.szName
[in] The human-readable text name of the assembly.pMetaData
[in] A pointer to the ASSEMBLYMETADATA that contains version, platform, and locale information for the assembly.dwAssemblyFlags
[in] A bitwise combination of AssemblyFlags values that specify various attributes of the assembly.
Remarks
To create an Assembly metadata structure, use the IMetaDataAssemblyEmit::DefineAssembly method.
Requirements
Platform: 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, 1.1, 1.0