returns a new feed based on the operation passed in. This is useful if you either do not use
autopaging, or want to move to previous parts of the feed, or get a refresh of the current feed
Namespace:
Google.GData.Client
Assembly:
Google.GData.Client (in Google.GData.Client.dll)
Version: 1.4.0.2
Syntax
| C# |
|---|
public Feed<Y> Get<Y>( Feed<Y> feed, FeedRequestType operation ) where Y : new(), Entry |
| Visual Basic (Declaration) |
|---|
Public Function Get(Of Y As {New, Entry}) ( _ feed As Feed(Of Y), _ operation As FeedRequestType _ ) As Feed(Of Y) |
| Visual C++ |
|---|
public: generic<typename Y> where Y : gcnew(), Entry Feed<Y>^ Get( Feed<Y>^ feed, FeedRequestType operation ) |
Parameters
- feed
- Type: Google.GData.Client..::.Feed<(Of <(Y>)>)
the original feed
- operation
- Type: Google.GData.Client..::.FeedRequestType
an requesttype to indicate what to retrieve
Type Parameters
- Y
Return Value
Examples
The following code illustrates a possible use of
the Get method:
CopyC#
YouTubeRequestSettings settings = new YouTubeRequestSettings("yourApp", "yourClient", "yourKey", "username", "pwd"); YouTubeRequest f = new YouTubeRequest(settings); Feed<Playlist> feed = f.GetPlaylistsFeed(null); Feed<Playlist> next = f.Get<Playlist>(feed, FeedRequestType.Next);