Microsoft DirectX 8.1 (C++)

MetaProperties.ItemWithTypeProviderLang

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The ItemWithTypeProviderLang property retrieves a MetaProperty object that matches the specified MetaPropertyType, GuideDataProvider, and language.

Syntax

objMetaProperties.ItemWithTypeProviderLang(
  ptype As IMetaPropertyType,
  pprovider As IGuideDataProvider,
  lang As Long) As MetaProperty

Parameters

ptype

[in]  Object that specifies the metaproperty type.

pprovider

[in]  Object that specifies the data provider.

lang

[in]  Language identifier, or 0 to retrieve only a language-neutral item.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

This property returns a MetaProperty object.

See Also