The class Document is the represenation of a LogiKal document.
More...
|
| Guid | CoreObjectId => Id |
| | This property is deprecated. Please use CoreObjectBase.Id instead. More...
|
| |
|
| CoreObjectBase (IApiService apiService, Guid coreObjectId, bool ownsObject=true) |
| |
| T | CallService< T > (Func< IApiService, T > serviceCall, [CallerMemberName] string callerMethod=null) |
| | Calls a service function and raises an error if it fails. More...
|
| |
| T | CallServiceWithMessage< T > (Func< IApiService, T > serviceCall, [CallerMemberName] string callerMethod=null) |
| | Calls a service function and raises an error if it fails. More...
|
| |
|
override void | Dispose (bool disposing) |
| |
| const string | NotSupportedCauseNotImplemented |
| | Default message for methods which are not supported because they are not implemented. More...
|
| |
|
Action< Disposable > | Disposed |
| |
The class Document is the represenation of a LogiKal document.
◆ Edit()
| DocumentInfo Ofcas.Lk.Api.Client.Core.Document.Edit |
( |
string |
key, |
|
|
object |
value |
|
) |
| |
◆ GetContent() [1/3]
| void Ofcas.Lk.Api.Client.Core.Document.GetContent |
( |
Stream |
target | ) |
|
This method is deprecated. Please use GetContent() instead.
- Parameters
-
| target | The content from the document is written in this stream. If the document has no content, the length of target is zero. |
- Exceptions
-
| Exception | If getting the document content failed. |
◆ GetContent() [2/3]
| Stream Ofcas.Lk.Api.Client.Core.Document.GetContent |
( |
| ) |
|
The content from the document.
- Returns
- A stream with the content of the document.
◆ GetContent() [3/3]
| Stream Ofcas.Lk.Api.Client.Core.Document.GetContent |
( |
bool |
writeAccess | ) |
|
The content from the document.
- Parameters
-
| writeAccess | Describes the specific access mode. If the value is true, the file will be open with write access. The document will be locked until the object has been released by the user. |
- Returns
- A stream with the content of the document.
The documentation for this class was generated from the following file: