Partilhar via


WordServiceFormats.EnableFromExtensions Method

Enables the specified set of file extensions for use with this instance of the service application.

Namespace:  Microsoft.Office.Word.Server.Service
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
Public Sub EnableFromExtensions ( _
    enabledExtensions As String() _
)
'Usage
Dim instance As WordServiceFormats
Dim enabledExtensions As String()

instance.EnableFromExtensions(enabledExtensions)
public void EnableFromExtensions(
    string[] enabledExtensions
)

Parameters

  • enabledExtensions
    Type: []

    The possible values for this parameter are: DOC, DOCX, XML, MHTML, and RTF.

See Also

Reference

WordServiceFormats Class

WordServiceFormats Members

Microsoft.Office.Word.Server.Service Namespace