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.
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.
Syntax
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 supported operating systems.
Header: Cor.h
Library: CorGuids.lib
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.