Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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