Click or drag to resize
EasyFileUploadExtensionsEasyReplaceFile Method
Uploads the specified file as new section to the specified document.

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

Parameters

section
Type: DocuWare.Platform.ServerClientSection
The section to modify.
file
Type: System.IOFileInfo
The file marking the new content of the section.

Return Value

Type: Section
The metadata of the modified section.

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