Gets a particular table of contents from the collection.

GetItem()

public TableOfContents GetItem();
Public Function GetItem() As TableOfContents

GetItem(String)

public TableOfContents GetItem(string name);
Public Function GetItem(ByVal name As String) As TableOfContents

GetItem(Int)

public TableOfContents GetItem(int id);
Public Function GetItem(ByVal id As Integer) As TableOfContents

Parameters

Parameter Description
name Specifies the name set with the Name property. The method returns null if a table of contents with the specified name does not exist.
id Specifies the identifier of the table of contents. The method returns null if a table of contents with the specified identifier does not exist.

Return Value

The return value is null, if a table of contents with the specified parameters could not be found. Otherwise, it is an object of the type TableOfContents.