IMetaDataEmit2 Interface

Extends the IMetaDataEmit interface primarily to provide the ability to work with generic types.

Methods

Method Description
DefineGenericParam Method Creates a definition for a generic type parameter, and gets a token to that generic type parameter.
DefineMethodSpec Method Creates a generic instance of a method, and gets a token to the definition.
GetDeltaSaveSize Method Gets a value indicating the difference in size of the data that is required to express the changes for the current edit-and-continue session.
ResetENCLog Method Resets the edit-and-continue log and starts a new session.
SaveDelta Method Saves changes from the current edit-and-continue session to the specified file.
SaveDeltaToMemory Method Saves changes from the current edit-and-continue session to memory.
SaveDeltaToStream Method Saves changes from the current edit-and-continue session to the specified stream.
SetGenericParamProps Method Sets property values for the generic parameter definition referenced by the specified token.

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: Available since 2.0

See also