Skip to main content

DocumentManagerServiceExtensions.FindDocumentById(IDocumentManagerService, Object) Method

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

#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