Export (0) Print
Expand All

IMetaDataEmit::SetTypeDefProps Method

Sets features of a type defined by a prior call to IMetaDataEmit::DefineTypeDef.

HRESULT SetTypeDefProps (
    [in]  mdTypeDef   td, 
    [in]  DWORD       dwTypeDefFlags, 
    [in]  mdToken     tkExtends, 
    [in]  mdToken     rtkImplements[] 
);

td

[in] An mdTypeDef token obtained from original call to IMetaDataEmit::DefineTypeDef.

dwTypeDefFlags

[in] TypeDef attributes. This is a bitmask of CorTypeAttr values.

tkExtends

[in] The mdToken of the base class. Obtained from a previous call to IMetaDataEmit::DefineImportType, or null.

rtkImplements[]

[in] An array of tokens for the interfaces that this type implements. These mdTypeRef tokens are obtained using IMetaDataEmit::DefineImportType. The last element of the array is must be mdTokenNil.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MSCorEE.dll

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Show:
© 2014 Microsoft