UriHelper.IsQueryOrFragmentOnly Method

Namespace
Kampute.DocToolkit.Support
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether the given URI string is a query or fragment-only URI.
public static bool IsQueryOrFragmentOnly(string uriString)

Parameters

uriString string
The URI string to check.

Returns

bool
true if the URI string starts with either a '?' or '#' character; otherwise, false.

Exceptions

ArgumentNullException
Thrown when uriString is null.