Gets a particular subtextpart from the collection.
public SubTextPart GetItem();
Public Function GetItem() As SubTextPart
public SubTextPart GetItem(string name);
Public Function GetItem(ByVal name As String) As SubTextPart
public SubTextPart GetItem(int id);
Public Function GetItem(ByVal id As Integer) As SubTextPart
Parameter | Description |
---|---|
name | Specifies the textpart's name set with the Name property. The method returns null if a textpart with the specified name does not exist. |
id | Specifies the textpart's identifier. The method returns null if a textpart with the specified identifier does not exist. |
The return value is null, if a subtextpart with the specified parameters could not be found. Otherwise, it is an object of the type Sub