IMetaDataEmit2 Interface

 

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

MethodDescription
DefineGenericParam MethodCreates a definition for a generic type parameter, and gets a token to that generic type parameter.
DefineMethodSpec MethodCreates a generic instance of a method, and gets a token to the definition.
GetDeltaSaveSize MethodGets 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 MethodResets the edit-and-continue log and starts a new session.
SaveDelta MethodSaves changes from the current edit-and-continue session to the specified file.
SaveDeltaToMemory MethodSaves changes from the current edit-and-continue session to memory.
SaveDeltaToStream MethodSaves changes from the current edit-and-continue session to the specified stream.
SetGenericParamProps MethodSets property values for the generic parameter definition referenced by the specified token.

Platforms: See System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: Available since 2.0

Metadata Interfaces
IMetaDataEmit Interface

Show: