Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

HyperlinkUriHelper.EnsureUriIsValid(String) Method

Check whether the hyperlink URI is valid.

Namespace: DevExpress.Office

Assembly: DevExpress.Office.v19.1.Core.dll

Declaration

public static string EnsureUriIsValid(
    string uri
)

Parameters

Name Type Description
uri String

A hyperlink Uri that needs to be checked.

Returns

Type Description
String

A string value that is the valid Uri.

Remarks

If the hyperlink Uri passed as a uri parameter is invalid, the EnsureUriIsValid method returns the corrected Uri.

See Also