SyndicationFeed.SkipHours Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of integers indicating the set of values in the 'skipHours' element for the feed.
public:
property System::Collections::ObjectModel::Collection<int> ^ SkipHours { System::Collections::ObjectModel::Collection<int> ^ get(); };
public System.Collections.ObjectModel.Collection<int> SkipHours { get; }
member this.SkipHours : System.Collections.ObjectModel.Collection<int>
Public ReadOnly Property SkipHours As Collection(Of Integer)
Property Value
A collection of integer numbers indicating the hours where aggregators should skip updating the feed.
Examples
The following XML shows how SkipHours is serialized to RSS 2.0.
<item>
<skipHours>
<hour>0</hour>
<hour>1</hour>
<hour>2</hour>
<hour>3</hour>
<hour>4</hour>
<hour>5</hour>
<hour>6</hour>
<hour>7</hour>
<hour>18</hour>
<hour>19</hour>
<hour>20</hour>
<hour>21</hour>
<hour>22</hour>
<hour>23</hour>
</skipHours>
</item>
Remarks
When serialized to RSS 2.0, the SkipHours property is written to a <skipHours>
element
with subelements for each integer in the collection. Valid integer values are between 0 and 23 inclusive.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour