FileCabinetExtensionsUploadDocument Method (FileCabinet, Document, FileInfo)DocuWare Platform .NET API
Uploads the specified document.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.6
Syntax

C#
public static Document UploadDocument(
	this FileCabinet fileCabinet,
	Document document,
	params FileInfo[] file
)

Parameters

fileCabinet
Type: DocuWare.Platform.ServerClientFileCabinet
The file cabinet.
document
Type: DocuWare.Platform.ServerClientDocument
The document.
file
Type: System.IOFileInfo
The file.

Return Value

Type: Document
The uploaded document's metadata.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FileCabinet. 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

Reference