Click or drag to resize
FileCabinetExtensionsChunkUploadSection Method
Replaces the content of a section with the passed file Upload the specified file in chunks.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.7 [UNOFFICIAL BUILD]
Syntax
C#
public static Section ChunkUploadSection(
	this Section section,
	FileInfo file,
	int chunkSize = 0
)

Parameters

section
Type: DocuWare.Platform.ServerClientSection
The section whose content is replaced.
file
Type: System.IOFileInfo
The file.
chunkSize (Optional)
Type: SystemInt32
Size of the chunk.

Return Value

Type: Section
The changed section's metadata.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Section. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also