Method CreateTextFragment
CreateTextFragment(int, int)
Creates a new WritableMessageFragment which represents a sub string of the original. Fragments are created using an ObjectPool so they can be reused. Use ReleaseFragment(MessageFragment) to return the fragment.
Declaration
public WritableMessageFragment CreateTextFragment(int start, int end)
Parameters
Type | Name | Description |
---|---|---|
int | start | Sub string start |
int | end | Sub string end |
Returns
Type | Description |
---|---|
WritableMessageFragment | A new fragment. |