C# 클래스 BExIS.Xml.Helpers.XExtentsions

파일 보기 프로젝트 열기: BEXIS2/Core 1 사용 예제들

공개 메소드들

메소드 설명
GetAbsoluteXPath ( this element ) : string

Get the absolute XPath to a given XElement, including the namespace. (e.g. "/a:people/b:person[6]/c:name[1]/d:last[1]").

GetAbsoluteXPathWithIndex ( this element ) : string
IndexPosition ( this element ) : int

Get the index of the given XElement relative to its siblings with identical names. If the given element is the root, -1 is returned.

메소드 상세

GetAbsoluteXPath() 공개 정적인 메소드

Get the absolute XPath to a given XElement, including the namespace. (e.g. "/a:people/b:person[6]/c:name[1]/d:last[1]").
public static GetAbsoluteXPath ( this element ) : string
element this
리턴 string

GetAbsoluteXPathWithIndex() 공개 정적인 메소드

public static GetAbsoluteXPathWithIndex ( this element ) : string
element this
리턴 string

IndexPosition() 공개 정적인 메소드

Get the index of the given XElement relative to its siblings with identical names. If the given element is the root, -1 is returned.
public static IndexPosition ( this element ) : int
element this /// The element to get the index of. ///
리턴 int