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: See .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MSCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0