Microsoft DirectX 8.1 (C++)

MetaProperties.ItemWith

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

The ItemWith property retrieves a MetaProperty object with a matching MetaPropertyType and language.

Syntax

objMetaProperties.ItemWith(
  propertytype As MetaProperty,
  lang As Long) As MetaProperty

Parameters

propertytype

[in]  Specifies a MetaPropertyType object.

lang

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

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.

Remarks

Retrieves a MetaProperty object matching the specified MetaPropertyType object and language.

See Also