Was this page helpful?

WithFirstSegments Method

    Table of contents
    1. 1. WithFirstSegments(int count)
      1. 1.1. Parameters
      2. 1.2. Returns
    Table of Contents

    WithFirstSegments(int count)

    public XUri WithFirstSegments(int count);
    Create a new XUri based on the current instance with only a subset of the original path.

    Parameters

    Name Type Description
    count int Number of segments to keep.

    Returns

    Type: XUri
    New uri.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by