IMetaDataAssemblyEmit::SetAssemblyRefProps Method
Modifies the specified AssemblyRef metadata structure.
HRESULT SetAssemblyRefProps (
[in] mdAssemblyRef ar,
[in] const void *pbPublicKeyOrToken,
[in] ULONG cbPublicKeyOrToken,
[in] LPCWSTR szName,
[in] const ASSEMBLYMETADATA *pMetaData,
[in] const void *pbHashValue,
[in] ULONG cbHashValue,
[in] DWORD dwAssemblyRefFlags
);
Parameters
ar
[in] The metadata token that specifies the AssemblyRef metadata structure to be modified.pbPublicKeyOrToken
[in] The public key of the publisher of the referenced assembly.cbPublicKeyOrToken
[in] The size in bytes of pbPublicKeyOrToken.szName
[in] The human-readable text name of the assembly.pMetaData
[in] A pointer to an ASSEMBLYMETADATA instance that contains the version, platform, and locale information for the assembly.pbHashValue
[in] A pointer to the hash data associated with the assembly.cbHashValue
[in] The size in bytes of pbHashValue.dwAssemblyRefFlags
[in] A bitwise combination of AssemblyRefFlags values that specify attributes of the referenced assembly.
Remarks
To create an AssemblyRef metadata structure, use the IMetaDataAssemblyEmit::DefineAssemblyRef method.
Requirements
Platforms: See .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0