SetAssemblyProps Method

Assigns assembly-level properties.

HRESULT SetAssemblyProps(
    mdAssembly      AssemblyID,
    mdToken         FileToken,
    AssemblyOptions Option,
    VARIANT         Value
) PURE;

Parameters

  • AssemblyID
    ID of the assembly.
  • FileToken
    File that defines the property. Can be NULL if AssemblyID does not indicate an unbound netmodule.
  • Option
    Indicates the option to modify.
  • Value
    New value of the option.

Return Value

Returns S_OK if the method succeeds.

Requirements

Requires alink.h.

See Also

Concepts

ALink API (Unmanaged API Reference)

Other Resources

IALink Interface
IALink2 Interface