IMetaDataEmit2::DefineMethodSpec Method
Creates a generic instance of a method, and gets a token to the definition.
Syntax
HRESULT DefineMethodSpec (
[in] mdToken tkParent,
[in] PCCOR_SIGNATURE pvSigBlob,
[in] ULONG cbSigBlob,
[out] mdMethodSpec *pmi
);
Parameters
tkParent
[in] A token for the method of which to create the generic instance. The token must be of type mdMethodDef
or mdMemberRef
.
pvSigBlob
[in] A pointer to the binary COM+ signature of the method.
cbSibBlob
[in] The size, in bytes, of pvSigBlob
.
pmi
[out] A token to the metadata signature definition of the method.
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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre