Share via


IMLPropertySet::GetTypeByIndex (Compact 7)

3/12/2014

This method returns the property type for the property at the specified index.

Syntax

HRESULT GetTypeByIndex(
  ULONG iProperty,
  VARTYPE *pType
);

Parameters

  • iProperty
    [in] Index of the property.
  • pType
    [out] Pointer to the variant type of the property.

Return Values

Returns the HRESULT values shown in the following table.

Value Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_POINTER

The pType parameter is invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLPropertySet