DocumentContainer gives access to manage documents. Documents can be used in projects (Project).
More...
DocumentContainer gives access to manage documents. Documents can be used in projects (Project).
◆ CreateDocument()
| DocumentInfo Ofcas.Lk.Api.Core.DocumentContainer.CreateDocument |
( |
string |
name, |
|
|
string |
suffix, |
|
|
DocumentType |
type, |
|
|
Stream |
content |
|
) |
| |
Creates a document with the specific name, suffix, type and content.
- Parameters
-
| name | Specifies the name of the document. |
| suffix | Specifies the suffix of the document. |
| type | Specifies the type of the document. |
| content | Specifies the content of the document. |
- Returns
- Returns the newly created document as info object.
◆ DeleteDocument()
| void Ofcas.Lk.Api.Core.DocumentContainer.DeleteDocument |
( |
DocumentInfo |
documentInfo | ) |
|
Deletes a document specified by an info object.
- Parameters
-
| documentInfo | Specifies the document to be deleted. |
◆ GetDocument()
Returns the corresponding document based on the given information data.
- Parameters
-
| documentInfo | The document information obtained through the CoreObject<T>.Infos function. |
- Returns
- the Document
- Exceptions
-
| Exception | If getting document failed. |
The documentation for this class was generated from the following file:
- Ofcas.Lk.Api.Core/DocumentContainer.cs