Gets a particular table of contents from the collection.
public TableOfContents GetItem();
Public Function GetItem() As TableOfContents
public TableOfContents GetItem(string name);
Public Function GetItem(ByVal name As String) As TableOfContents
public TableOfContents GetItem(int id);
Public Function GetItem(ByVal id As Integer) As TableOfContents
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. |
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 Table