3.2.4.2.49.4 Type (put) (Opnum 10)

The Type (put) method sets the type of comparison used by the property condition.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_PROPERTY_CONDITION|0x02))] HRESULT Type(
   [in] FsrmPropertyConditionType type
 );

type: Contains the type of comparison for the property condition to use.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The type is invalid for a property value.

Upon receiving this message, the server MUST validate parameters:

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST use type as the Property Condition.Type of comparison for the property condition.