Get the value of a property for the current item in the news
feed.
Syntax
object.GetProperty( Property,
Value )
Parameters
- Property
- A string which specifies the name of the custom property to
retrieve the value for.
- Value
- A string that is passed by reference which will contain the
property value when the method returns.
Return Value
A value of zero is returned if the property was specified in the
news item. Otherwise, a non-zero error code is returned which
indicates the cause of the failure. If the method fails, the value of
the LastError property can be used to determine cause of the
failure.
Remarks
The GetProperty method is primarily used with custom item
properties that may be used with extensions to the news feed. The
standard properties for an news feed item such as the title, link and
description can be access using properties such as ItemTitle,
ItemLink and ItemText. However, if items in the feed
contain custom properties that are not part of the standard RSS
format, this method can be used to obtain those values.
See Also
Close Method,
GetItem Method, Open
Method, Parse Method
|