Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IRoMetaDataLocator structure (roparameterizediid.h)

Enables the RoGetParameterizedTypeInstanceIID function to access run-time metadata.

Implement IRoMetaDataLocator when you're implementing programming language bindings to enable a language to call Windows platform APIs by using Windows metadata (.winmd) files.

Syntax

struct IRoMetaDataLocator {
 HRESULT Locate(
 PCWSTR nameElement,
 IRoSimpleMetaDataBuilder & metaDataDestination
 );
};

Members

HRESULT Locate( PCWSTR nameElement, IRoSimpleMetaDataBuilder & metaDataDestination)

Gets a metadata builder for the specified type.

nameElement

A Windows Runtime type or parameterized type to resolve.

metaDataDestination

A data sink for Windows Runtime metadata. The caller should invoke the appropriate set method to provide the metadata for the type named by nameElement.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header roparameterizediid.h

See also

RoGetMetaDataFile


Feedback

Was this page helpful?

Additional resources