PageUrlNormalization.IsWacUrl method

Returns a value that indicates whether the specified URL locates a Microsoft Office Web Application Companion (WAC).

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function IsWacUrl ( _
    url As Uri _
) As Boolean
'Usage
Dim url As Uri
Dim returnValue As Boolean

returnValue = PageUrlNormalization.IsWacUrl(url)
public static bool IsWacUrl(
    Uri url
)

Parameters

  • url
    Type: System.Uri

    A string that contains the URL.

Return value

Type: System.Boolean
true if the URL locates a WAC; otherwise false.

Remarks

Web Application Companions (WAC) are components that enable you to view and edit Microsoft Office documents in the browser.

See also

Reference

PageUrlNormalization class

PageUrlNormalization members

Microsoft.SharePoint.Utilities namespace