SPFile.GetConvertedFile Method
Returns the child file that was created from this file using document transforms and the specified transformer.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function GetConvertedFile ( _
ConverterId As Guid _
) As SPFile
'Usage
Dim instance As SPFile
Dim ConverterId As Guid
Dim returnValue As SPFile
returnValue = instance.GetConvertedFile(ConverterId)
public SPFile GetConvertedFile(
Guid ConverterId
)
Parameters
ConverterId
Type: System.GuidA System.Guid object that specifies the document transformer that was used to transform this document.
Return Value
Type: Microsoft.SharePoint.SPFile
An SPFile object that represents the child file that was created from this file, or a null reference (Nothing in Visual Basic) if this file object was not transformed using the specified transformer.