C# Class Microsoft.Protocols.TestSuites.SharedAdapter.MS_FSSHTTP_FSSHTTPBManagedCodeSUTControlAdapter

The implementation of the SUT control managed code adapter interface.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_FSSHTTP_FSSHTTPBManagedCodeSUTControlAdapter
显示文件 Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
RemoveFile ( string fileUrl, string fileName ) : bool

This method is used to remove the file from the path of file URI.

UploadTextFile ( string fileUrl, string fileName ) : bool

This method is used to upload a file to the specified URI.

Method Details

RemoveFile() public method

This method is used to remove the file from the path of file URI.
public RemoveFile ( string fileUrl, string fileName ) : bool
fileUrl string Specify the URL in where the file will be removed.
fileName string Specify the name for the file that will be removed.
return bool

UploadTextFile() public method

This method is used to upload a file to the specified URI.
public UploadTextFile ( string fileUrl, string fileName ) : bool
fileUrl string Specify the URL where the file will be uploaded to.
fileName string Specify the name for the file to upload.
return bool