Редагувати

Поділитися через


FederationMessage.GetBaseUrl(Uri) Method

Definition

Helper method that extracts the base URL from the specified URI.

public:
 static Uri ^ GetBaseUrl(Uri ^ uri);
public static Uri GetBaseUrl (Uri uri);
static member GetBaseUrl : Uri -> Uri
Public Shared Function GetBaseUrl (uri As Uri) As Uri

Parameters

uri
Uri

The URI from which to extract the base URL.

Returns

Uri

The base URL that was extracted.

Remarks

The URL returned is the original URL without the query string.

Applies to