This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Sets the value of a document property from the specified string.
[in] The value to set the document property to.
[in] The document property's data type.
Possible values are:
The value type is empty or null.
The property's data type is Integer.
The property's data type is Double.
The property's data type is DateTime.
The property's data type is Boolean.
The property's data type is String, and is less than 256 characters in length.
The property's data type is String, and is longer than 256 characters in length.
The property is the maximum length of a text string.
The IParserProperty Class methods return typical HRESULT values. In general, the method should return a positive OK value when successful or a negative FAIL value when unsuccessful.
If Windows SharePoint Services cannot determine the data type, it assigns to the property the data type specified in the pvtHint parameter. If the data type specified in the pvtHint parameter does not match the value specified, the method returns an error.