resetFeedAttributes method: Feed class
Syntax
resetFeedAttributes()
Description
Use this method to reset the FeedAttributes collection.
Parameters
None.
Returns
An empty FeedAttributes collection.
Example
import PTFP_FEED:FeedFactory;
import PTFP_FEED:Feed;
import PTFP_FEED:UTILITY:Collection;
Local PTFP_FEED:FeedFactory &thisFeedFactory = create PTFP_FEED:FeedFactory();
Local PTFP_FEED:Feed &thisFeed = &thisFeedFactory.getFeed("feed_ID", ⇒
&thisFeedFactory.Utility.OPERATINGMODE_DEFAULT);
Local PTFP_FEED:UTILITY:Collection &coll;
If &thisFeed <> Null Then
&coll = &thisFeed.resetFeedAttributes();
End-If;
Related Topics