DocumentManagerServiceExtensions.FindDocumentById(IDocumentManagerService, Object) Method

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v19.2.dll

Declaration

public static IDocument FindDocumentById(
    this IDocumentManagerService service,
    object id
)
<ExtensionAttribute>
Public Shared Function FindDocumentById(
    service As IDocumentManagerService,
    id As Object
) As IDocument

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