Share via


ICeeGen::TruncateSection Method

Truncates the specified code section by the specified length.

This method is obsolete and should not be used.

HRESULT TruncateSection (
    [in]  HCEESECTION     section,
    [in]  ULONG           len
);

Parameters

  • section
    [in] The section to truncate.

  • len
    [in] The length, in bytes, by which to truncate the section.

Remarks

Call TruncateSection only if you have special section requirements that are not handled by other methods.

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

See Also

Reference

ICeeGen Interface