Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HyperlinkUriHelper.EnsureUriIsValid(String) Method

Check whether the hyperlink URI is valid.

Namespace: DevExpress.Office

Assembly: DevExpress.Office.v24.2.Core.dll

NuGet Package: DevExpress.Office.Core

#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