Condividi tramite


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

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