| IPreviewUpdatedViaSegmentFileCreateSegmentFile Method |
Called by the host application to create a native source document containing the source language
content of the specified segment. The implementation returns the full path to the file created.
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
SyntaxTempFileManager CreateSegmentFile(
SegmentReference segment
)
Function CreateSegmentFile (
segment As SegmentReference
) As TempFileManager
TempFileManager^ CreateSegmentFile(
SegmentReference^ segment
)
abstract CreateSegmentFile :
segment : SegmentReference -> TempFileManager
Parameters
- segment
- Type: Sdl.FileTypeSupport.Framework.IntegrationApiSegmentReference
Identifies the segment to create a file for.
Return Value
Type:
TempFileManagerTemporary file that has been created. The lifetime of the file is controlled by the
returned manager instance. All components that need access to the file should reference this.
The file will automatically be deleted when this instance is disposed or garbage collection takes place.
See Also
Comments