Was this page helpful?

TryGetValue Method

    TryGetValue(XUri key, out T value)

    public bool TryGetValue(XUri key, out T value);
    Try to get the best matching parent uri.

    Parameters

    Name Type Description
    key XUri Uri to match.
    value out T When the method returns True, this variable contains the reference object for matched parent Uri.

    Returns

    Type: bool
    True if a match was found.

    TryGetValue(XUri key, out T value, out int similarity)

    public bool TryGetValue(XUri key, out T value, out int similarity);
    Try to get the best matching parent uri.

    Parameters

    Name Type Description
    key XUri Uri to match.
    value out T When the method returns True, this variable contains the reference object for matched parent Uri.
    similarity out int When the method returns True, this variable contains of similarity match between the input and matched Uri.

    Returns

    Type: bool
    True if a match was found.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by