Upload a file from a file name
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
| C# |
|---|
public void UploadFile( string filename ) |
| Visual Basic (Declaration) |
|---|
Public Sub UploadFile ( _ filename As String _ ) |
| Visual C++ |
|---|
public: void UploadFile( String^ filename ) |
Parameters
- filename
- Type: System..::.String
The filename of the file to upload
Remarks
This method encapsulates upload.file
This method requires "write" permission on docs.
Exceptions
| Exception | Condition |
|---|---|
| IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
| IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. Use the method ConfigureIpernityObject(IpernityObject) to configure the object and allow it to interact with Ipernity |