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.StringA 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.