createFeed method: FeedFactory class
Syntax
createFeed(feed_ID)
Description
Use this method to create a new Feed object with the given ID.
Parameters
| Parameter | Description |
|---|---|
|
feed_ID |
Specifies the feed ID of the new feed definition. |
Returns
A Feed object if successful, null otherwise.
Example
import PTFP_FEED:FeedFactory;
import PTFP_FEED:Feed;
Local PTFP_FEED:FeedFactory &thisFeedFactory = create PTFP_FEED:FeedFactory();
Local PTFP_FEED:Feed &thisFeed = &thisFeedFactory.createFeed("feed_ID");
Related Topics