Share via


SPDocumentConverter.SupportsFile method

Returns a Boolean value that indicates whether the document converter supports transformation of the specified file.

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

Syntax

'Declaration
Public Function SupportsFile ( _
    fileName As String _
) As Boolean
'Usage
Dim instance As SPDocumentConverter
Dim fileName As String
Dim returnValue As Boolean

returnValue = instance.SupportsFile(fileName)
public bool SupportsFile(
    string fileName
)

Parameters

  • fileName
    Type: System.String

    A string that contains the name of the file to verify.

Return value

Type: System.Boolean
The value contained by the ConvertFrom property; false if no file name is specified.

See also

Reference

SPDocumentConverter class

SPDocumentConverter members

Microsoft.SharePoint.Administration namespace