Share via


IMLPropertySet::GetValid (Compact 7)

3/12/2014

This method returns a value indicating whether the specified property is valid in the property set.

Syntax

HRESULT GetValid(
  ULONG propertyID,
  BOOL *pfValid
);

Parameters

  • propertyID
    [in] ID of the property.
  • pfValid
    [out] Pointer to a Boolean value. This value is true if the property is valid in the set; otherwise, it is false.

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 pfValid 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