OpenXmlElement.NextSibling 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| NextSibling() | 获取紧跟在当前 OpenXmlElement 元素后面的 OpenXmlElement 元素。 如果没有下一个 OpenXmlElement 元素,则返回 null (Visual Basic) Nothing。 | 
| NextSibling<T>() | 获取具有当前 OpenXmlElement 元素后面的指定类型的 OpenXmlElement 元素。 如果没有下一个 OpenXmlElement,则返回 null (Visual Basic) Nothing。 | 
NextSibling()
获取紧跟在当前 OpenXmlElement 元素后面的 OpenXmlElement 元素。 如果没有下一个 OpenXmlElement 元素,则返回 null (Visual Basic) Nothing。
public DocumentFormat.OpenXml.OpenXmlElement NextSibling();public DocumentFormat.OpenXml.OpenXmlElement? NextSibling();member this.NextSibling : unit -> DocumentFormat.OpenXml.OpenXmlElementPublic Function NextSibling () As OpenXmlElement返回
紧跟在当前 OpenXmlElement 元素后面的 OpenXmlElement 元素。
适用于
NextSibling<T>()
获取具有当前 OpenXmlElement 元素后面的指定类型的 OpenXmlElement 元素。 如果没有下一个 OpenXmlElement,则返回 null (Visual Basic) Nothing。
public T NextSibling<T>() where T : DocumentFormat.OpenXml.OpenXmlElement;public T? NextSibling<T>() where T : DocumentFormat.OpenXml.OpenXmlElement;member this.NextSibling : unit -> 'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)Public Function NextSibling(Of T As OpenXmlElement) () As T类型参数
- T
返回
具有当前 OpenXmlElement 元素后面的指定类型的 OpenXmlElement 元素。