Upload a new file
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public void UploadReplace( UploadStream upStream, Document doc ) |
Visual Basic (Declaration) |
---|
Public Sub UploadReplace ( _ upStream As UploadStream, _ doc As Document _ ) |
Visual C++ |
---|
public: void UploadReplace( UploadStream^ upStream, Document^ doc ) |
Parameters
- upStream
- Type: IpernityNET..::.UploadStream
A UploadStream object containing the stream to upload
- doc
- Type: IpernityNET.IpernityObjects..::.Document
The Document to replace
Remarks
This method encapsulates upload.replace
This method requires "write" permission on docs.
This method requires a PRO account
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 |