Share via


OriginalString Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the original URI string that was passed to the Uri constructor.

Namespace:  System
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public ReadOnly Property OriginalString As String
public string OriginalString { get; }
public:
property String^ OriginalString {
    String^ get ();
}
member OriginalString : string with get
function get OriginalString () : String

Property Value

Type: System. . :: . .String
A String containing the exact URI specified when this instance was constructed; otherwise, Empty.

Remarks

If the URI specified to the constructor contained leading or trailing spaces, these spaces are preserved.

.NET Framework Security

See Also

Reference

Uri Class

System Namespace