Delen 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: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

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

See Also

Reference

IMetaDataImport Interface

IMetaDataImport2 Interface