IMetaDataEmit::SetParent Method
Establishes that the specified member, as defined by a prior call to IMetaDataEmit::DefineMemberRef Method, is a member of the specified type, as defined by a prior call to IMetaDataEmit::DefineTypeDef Method.
HRESULT SetParent (
[in] mdMemberRef mr,
[in] mdToken tk
);
Parameters
Parameter | Description |
---|---|
mr |
[in] The mdMemberRef token to receive a new parent. |
tk |
[in] The mdToken for the new parent. |
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, 1.1, 1.0