Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataImport::GetNestedClassProps method

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

Syntax


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.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show:
© 2017 Microsoft