VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.AspNetCore.ApiControllers Namespace / VintasoftAnnotationCollectionApiController Class / CreateSerializedDocumentsDataStorage(String) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    CreateSerializedDocumentsDataStorage(String) Method (VintasoftAnnotationCollectionApiController)
    In This Topic
    Creates a data storage for serialized documents.
    Syntax
    'Declaration
    
    Protected Overridable Function CreateSerializedDocumentsDataStorage( _
    ByVal sessionId
    The session identifier.
    As String _
    ) As Vintasoft.Data.IDataStorage
    protected virtual Vintasoft.Data.IDataStorage CreateSerializedDocumentsDataStorage(
    string sessionId
    )
    protected: virtual Vintasoft.Data.IDataStorage CreateSerializedDocumentsDataStorage(
    string* sessionId
    )
    protected:
    virtual Vintasoft.Data.IDataStorage CreateSerializedDocumentsDataStorage(
    string^ sessionId
    )

    Parameters

    sessionId
    The session identifier.

    Return Value

    The data storage.
    Remarks

    By default method creates the Vintasoft.Data.StreamDataStorage storage that works with "{Project Path}/VintasoftCache/{SessionId}/SerializedDocuments" folder.

    Important: The overridden method must return data storage that can store System.IO.Stream objects.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7, .NET 6

    See Also