Skip to main content

IDocumentStorageProvider.TryGet(String, out DocumentStorage) Method

Checks whether a document storage with the specified ID exists and returns it as an out parameter.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

bool TryGet(
    string id,
    out DocumentStorage documentStorage
)

Parameters

Name Type Description
id String

The value specifying the document storage’s ID.

documentStorage DocumentStorage

An out parameter that specifies the requested document storage if it exists.

Returns

Type Description
Boolean

True if a document storage with the specified ID exists. Otherwise, False.

See Also