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.

IRoMetaDataLocator::Locate method

Gets a metadata builder for the specified type.

Syntax


HRESULT Locate(
       PCWSTR                   nameElement,
  [in] IRoSimpleMetaDataBuilder metaDataDestination
);

Parameters

nameElement

Type: PCWSTR

A Windows Runtime type or parameterized type to resolve.

metaDataDestination [in]

Type: IRoSimpleMetaDataBuilder

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.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code to indicate failure to resolve metadata. This error code is returned by RoGetParameterizedTypeInstanceIID.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roparameterizediid.h

See also

IRoMetaDataLocator
RoGetParameterizedTypeInstanceIID

 

 

Show: