.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

HyperlinkUriHelper.EnsureUriIsValid(String) Method

Check whether the hyperlink URI is valid.

Namespace: DevExpress.Office

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

Declaration

public static string EnsureUriIsValid(
    string uri
)
Public Shared Function EnsureUriIsValid(
    uri As String
) As String

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