System.Uri

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sathyaish

    #1

    System.Uri

    In the System.Uri class I do not understand the following properties
    very well, and I suspect that they have not been implemented because
    they yield static results on different input.

    1. IsFile: Always returns false.

    2. UserEscaped: I am not sure this property works either, or what it is
    supposed to yield. This one totally escapes me, pun intended.
    (http://groups.google.com/group/micro...3aac26deb63c7c)

    3. Fragment: Because I do not fully understand the UserEscaped
    property,
    (http://groups.google.com/group/micro...3aac26deb63c7c)
    and because Fragment is supposed to return the escaped fragment of the
    Uri, I am not sure I know what this means. Can someone please clarify
    what this property is supposed to return?


    Also, can someone at Microsoft confirm if the above mentioned four
    properties have been implemented in v1.1?

  • Larry Lard

    #2
    Re: System.Uri


    Sathyaish wrote:[color=blue]
    > In the System.Uri class I do not understand the following properties
    > very well, and I suspect that they have not been implemented because
    > they yield static results on different input.
    >
    > 1. IsFile: Always returns false.[/color]

    Dim fileUri As System.Uri

    fileUri = New
    System.Uri("fil e://c:/windows/system32.kernel 23.dll")

    Console.WriteLi ne(fileUri.IsFi le)

    The escape stuff is answered in your other thread, I think.

    --
    Larry Lard
    Replies to group please

    Comment

    • Sathyaish

      #3
      Re: System.Uri

      ah! so the IsFile property really checks the HTTPElementPref ix. Thanks!

      Comment

      Working...