System::UriBuilder class

UriBuilder class

Provides methods to construct and modify universial resource identifiers (URIs). Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class UriBuilder : public System::Object

Methods

MethodDescription
get_Scheme() constReturns the scheme of the URI constructed by the current object.
get_Uri() constReturns the Uri object constructed by the current object.
set_Port(int)Sets the sets the port number of the URI.
set_Scheme(const String&)Sets the scheme of the URI constructed by the current object to the specified value.
ToString() const overrideReturns the string representation of the URI constructed by the current object.
UriBuilder(const String&)Constructs a UriBuilder object that represents that represents the specified URI.
UriBuilder(const SharedPtr<Uri>&)Constructs a UriBuilder object that represents that represents the specified URI.

See Also