UrlHelper.OfficeUrl Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

OfficeUrl(Attachment) Returns an url that can be used to open an Office document in Microsoft Word, Excel or Powerpoint using the Office URI Schemes.
OfficeUrl(IFile) Returns an url that can be used to open an Office document in Microsoft Word, Excel or Powerpoint using the Office URI Schemes.

OfficeUrl(Attachment)

Returns an url that can be used to open an Office document in Microsoft Word, Excel or Powerpoint using the Office URI Schemes.

public static string OfficeUrl(this Attachment attachment)

Parameters

attachment
Attachment

Returns

System.String

OfficeUrl(IFile)

Returns an url that can be used to open an Office document in Microsoft Word, Excel or Powerpoint using the Office URI Schemes.

public static string OfficeUrl(this IFile file)

Parameters

file
IFile

Returns

System.String