Share via


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)
Available in Sandboxed Solutions: No

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