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 Youtube object section.
Syntax
[Visual Basic] control.Youtube.VideoSearchByIDStreamCountGet ( nType as enumYoutubeStreamType, ByRef nCount as Integer ) as enumErrorCodes |
[C++] short control.Youtube.VideoSearchByIDStreamCountGet ( short nType short *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 |