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[] 


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


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


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


[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

© 2014 Microsoft