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