Uredi

Deli z drugimi prek


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.

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 System Requirements.

Header: Cor.h

Library: Used as a resource in MSCorEE.dll

.NET Framework Versions: Available since 1.0

See also