Σημείωση
Η πρόσβαση σε αυτή τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να συνδεθείτε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτή τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
Modifies the specified Assembly metadata structure.
Syntax
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 CorAssemblyFlags values that specify various attributes of the assembly.
Remarks
To create an Assembly metadata structure, use the IMetaDataAssemblyEmit::DefineAssembly method.
Requirements
Platform: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib