Utility property: Feed class

Description

Use this property to set or return the Utility object used by the Feed object.

This property is read/write.

Example

import PTFP_FEED:FeedFactory;
import PTFP_FEED:Feed;
import PTFP_FEED:UTILITY:Utility;

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:Utility &utility;

If &thisFeed <> Null Then
   &utility = &thisFeed.Utility;
End-If;

Related Topics