FileCabinetExtensions UploadDocument Method (DialogInfo, Document,  FileInfo )DocuWare Platform .NET API
Uploads the document.

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

public static Document UploadDocument(
	this DialogInfo dialog,
	Document document,
	params FileInfo[] file
)

Parameters

dialog
Type: DocuWare.Platform.ServerClient DialogInfo
The store dialog which is used to fill index data.
document
Type: DocuWare.Platform.ServerClient Document
The document.
file
Type:  OnlineSystem.IO FileInfo 
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 DialogInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also