Share via


IMetaDataImport::GetNestedClassProps Method

Gets the TypeDef token for the parent Type of the specified nested type.

HRESULT GetNestedClassProps (
      [in]   mdTypeDef      tdNestedClass,
      [out]  mdTypeDef      *ptdEnclosingClass
);

Parameters

  • tdNestedClass
    [in] A TypeDef token representing the Type to return the parent class token for.

  • ptdEnclosingClass
    [out] A pointer to the TypeDef token for the Type that tdNestedClass is nested in.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

IMetaDataImport Interface

IMetaDataImport2 Interface