[This is preliminary documentation and is subject to change.]

Downloads subtitle by ID.

Namespace:  Subtitles.Services
Assembly:  Subtitles.Services (in Subtitles.Services)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
bool DownloadByID(
	Guid subtitleID,
	int codePage,
	out string data,
	out string error
)
Visual Basic (Declaration)
Function DownloadByID ( _
	subtitleID As Guid, _
	codePage As Integer, _
	<OutAttribute> ByRef data As String, _
	<OutAttribute> ByRef error As String _
) As Boolean
Visual C++
bool DownloadByID(
	Guid subtitleID, 
	int codePage, 
	[OutAttribute] String^% data, 
	[OutAttribute] String^% error
)

Parameters

subtitleID
Type: System..::.Guid
Unique identifier of subtitle.
codePage
Type: System..::.Int32
Code page identifier. See also System.Text..::.Encoding.
data
Type: System..::.String%
Base 64 encoded string representation of compressed subtitle data. See also Convert..::.ToBase64String(array<Byte>[]()[]) and Convert..::.FromBase64String(String).
error
Type: System..::.String%
Error description.

Return Value

True on success, false otherwise.

See Also