Gets the contents of the file with the given name, as specified in the href parameter.

Namespace:  net.hazelhurst.epub
Assembly:  ePubLib (in ePubLib.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public string GetContent(
	string href
)
Visual Basic (Declaration)
Public Function GetContent ( _
	href As String _
) As String
Visual C++
public:
String^ GetContent(
	String^ href
)

Parameters

href
Type: System..::.String
Name of the file to be read. The name is as it would appear in the manifest or in the src attribute of a navPoint in the table of contents.

Return Value

The string contents of the requested file, or an empty string if the file contents cannot be read.

See Also