TextElementCollection<TextElementType>.InsertBefore 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 before a specified collection item.
public:
void InsertBefore(TextElementType nextSibling, TextElementType newItem);
public void InsertBefore (TextElementType nextSibling, TextElementType newItem);
member this.InsertBefore : 'extElementType * 'extElementType -> unit
Public Sub InsertBefore (nextSibling As TextElementType, newItem As TextElementType)
Parameters
- nextSibling
- TextElementType
An item in the collection before 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 nextSibling or newItem is null.
Raised when nextSibling does not belong to this collection.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.