Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Extends the IMetaDataEmit interface primarily to provide the ability to work with generic types.
interface IMetaDataEmit2 : IMetaDataEmit {
HRESULT DefineGenericParam (
mdToken tk,
ULONG ulParamSeq,
DWORD dwParamFlags,
LPCWSTR szname,
DWORD reserved,
mdToken rtkConstraints[],
mdGenericParam *pgp
);
HRESULT DefineMethodSpec (
mdToken tkParent,
PCCOR_SIGNATURE pvSigBlob,
ULONG cbSigBlob,
mdMethodSpec *pmi
);
HRESULT GetDeltaSaveSize (
CorSaveSize fSave,
DWORD *pdwSaveSize
);
HRESULT ResetENCLog ();
HRESULT SaveDelta (
LPCWSTR szFile,
DWORD dwSaveFlags
);
HRESULT SaveDeltaToMemory (
void *pbData,
ULONG cbData
);
HRESULT SaveDeltaToStream (
IStream *pIStream,
DWORD dwSaveFlags
);
HRESULT SetGenericParamProps (
mdGenericParam gp,
DWORD dwParamFlags,
LPCWSTR szName,
DWORD reserved,
mdToken rtkConstraints[]
);
};
Methods
Method |
Description |
---|---|
Creates a definition for a generic type parameter, and gets a token to that generic type parameter. |
|
Creates a generic instance of a method, and gets a token to the definition. |
|
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. |
|
Resets the edit-and-continue log and starts a new session. |
|
Saves changes from the current edit-and-continue session to the specified file. |
|
Saves changes from the current edit-and-continue session to memory. |
|
Saves changes from the current edit-and-continue session to the specified stream. |
|
Sets property values for the generic parameter definition referenced by the specified token. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Version: 2.0