Condividi tramite


XPathExpression.BlockExpressionSkeleton(Int32) Method

Definition

Returns the expression stripped of all filters, up to and including the given block index. For an expression "A/B/C", passing an index of 0 will get you "A", passing 1 will get you "A/B", and passing 2 or higher will get you "A/B/C".

public string BlockExpressionSkeleton (int blockIndex);
member this.BlockExpressionSkeleton : int -> string
Public Function BlockExpressionSkeleton (blockIndex As Integer) As String

Parameters

blockIndex
Int32

Returns

Applies to