Youtube.VideoSearchByIDStreamCountGet method |
|
Remarks
Obtains the number of streams available for the video found through the latest search performed by the Youtube.VideoSearchByID method.
For details about management of Youtube connections refer to How to enumerate and download video/audio clips from Youtube tutorial.
For further details about methods related to Youtube searches refer to the YoutubeMan class.
Syntax
[Visual Basic] Public Function VideoSearchByIDStreamCountGet ( nType as enumYoutubeStreamType, ByRef nCount as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes VideoSearchByIDStreamCountGet ( enumYoutubeStreamType nType ref int nCount ); |
[C++] public: enumErrorCodes VideoSearchByIDStreamCountGet ( enumYoutubeStreamType nType int __gc *nCount ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nType |
Type of stream. Supported values are the following:
|
||||||||||||
nCount |
Reference that, after returning from the method call, will contain the number of available streams for the given type. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |