Click here for NewsObjects Overview
SetInternalFeedSelected Method (Publisher Control)
Windows – Visual C++


Description
The SetInternalFeedSelected method sets the selected state of the specified internal feed and returns a boolean indicating the success of the operation.

Syntax
BOOL success = SetInternalFeedSelected(short feedID, BOOL selected)

The SetInternalFeedSelected syntax has these parts:

 Part

Description

feedID

An integer of the ID of the news feed

Selected

A boolean indicating whether the specified feed should be selected or deselected

Success

A boolean indicating the success of the operation

Remarks
This method is only valid after the FeedsRetrieved event has been fired and there is a list of available feeds. In order to publish a story, at least one feed must be selected although the entire list of available news feeds can be selected. Stories will be published to all selected news feeds. This method will return false if an invalid feedID is specified.

See also: GetInternalFeedID, GetNumberInternalFeeds, GetNumberSelectedInternalFeeds, FeedsRetrieved

Back to: Publisher Methods