Skip to main content
A newer version of this page is available. .

DocumentManagerServiceExtensions.FindDocumentById(IDocumentManagerService, Object) Method

Static extension method that retrieves the document by the specified identifier.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v18.2.dll

Declaration

public static IDocument FindDocumentById(
    this IDocumentManagerService service,
    object id
)

Parameters

Name Type Description
service IDocumentManagerService

The type the static extension method operates with.

id Object

An System.Object object that represents the document’s IDocument.Id.

Returns

Type Description
IDocument

An object implementing the IDocument interface.

See Also