TXTextControl.DocumentTargetCollection.GetItem Method

Gets a particular document target from the collection.

GetItem()

Gets the document target at the current input position or null if there is no document target at the current input position.

[C#]
public DocumentTarget GetItem();
[Visual Basic]
Public Function GetItem() As DocumentTarget

GetItem(Int32)

Gets the document target with the specified id, previously set with the DocumentTarget.ID property.

[C#]
public DocumentTarget GetItem(int id);
[Visual Basic]
Public Function GetItem(ByVal id As Integer) 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.

See Also