TextElementCollection<TextElementType>.InsertAfter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a specified item in the collection after a specified collection item.
public:
void InsertAfter(TextElementType previousSibling, TextElementType newItem);
public void InsertAfter (TextElementType previousSibling, TextElementType newItem);
member this.InsertAfter : 'extElementType * 'extElementType -> unit
Public Sub InsertAfter (previousSibling As TextElementType, newItem As TextElementType)
Parameters
- previousSibling
- TextElementType
An item in the collection after which the new item will be inserted.
- newItem
- TextElementType
An item to insert into the collection.
Exceptions
Raised when newItem already belongs to a collection.
Raised when previousSibling or newItem is null.
Raised when previousSibling does not belong to this collection.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.