Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Call to set assembly-level custom attributes.
Syntax
HRESULT EmitAssemblyCustomAttribute(
mdAssembly AssemblyID,
mdToken FileToken,
mdToken tkType,
void const* pCustomValue,
DWORD cbCustomValue,
BOOL bSecurity,
BOOL bAllowMulti
) PURE;
Parameters
AssemblyID
ID of the assembly.
FileToken
File that defiles the attribute. Can be NULL if AssemblyID does not indicate an unbound netmodule.
tkType
Type of the custom attribute.
pCustomValue
Custom value data.
cbCustomValue
Length of custom value data.
bSecurity
TRUE if the custom attribute is related to assembly signing.
bAllowMulti
TRUE if multiple attributes are to be emitted.
Return Value
Returns S_OK if the method succeeds.
Requirements
Requires alink.h