Gets a particular document target from the collection.
public DocumentTarget GetItem();
Public Function GetItem() As DocumentTarget
public DocumentTarget GetItem(int id);
Public Function GetItem(ByVal id As Integer) As DocumentTarget
public DocumentTarget GetItem(string targetName);
Public Function GetItem(ByVal targetName As String) As DocumentTarget
Parameter | Description |
---|---|
id | Specifies the document target's identifier. The method returns null, if a document target with the specified identifier does not exist. If there are more than target with this id in the document, the first target in the document's text is returned. |
target |
Specifies the document target's target name. The method returns null, if a document target with this target name does not exist. If there are more than target with this name in the document, the first target in the document's text is returned. |