Google Integrator V2 - Online Help
Google Integrator V2
Questions / Feedback?

DownloadFile Method

Downloads the currently selected file.

Syntax

[VB.NET]
Public Sub DownloadFile(ByVal fileFormat As String)
[C#]
public void DownloadFile(string fileFormat);

Remarks

This method downloads the file selected by ResourceIndex. The file will be downloaded to the stream specified (if any) by SetDownloadStream. If a stream is not specified and LocalFile is set the file will be saved to the specified location. If a stream is not specified and LocalFile is not set the file data will be held by ResourceData.

The FileFormat parameter specifies the formatting to be applied when saving the file, such as "text/plain". Specify an empty string for this parameter to use the default format for the file. Possible formats may be found by querying the ResourceFormats property.

Note: The file to be downloaded may be selected by calling either ListResources or GetResourceInfo and setting ResourceIndex, or simply by setting ResourceId before calling this method.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0