Skip to main content

EditingFieldExtensionsWin.TryGetRepositoryItem(String, out RepositoryItem) Method

Attempts to obtain a repository item by the specified name.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v23.2.dll

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

Declaration

public virtual bool TryGetRepositoryItem(
    string name,
    out RepositoryItem value
)

Parameters

Name Type Description
name String

The name of an item to be obtained.

value RepositoryItem

A RepositoryItem descendant with the specified name.

Returns

Type Description
Boolean

true if a repository item has been obtained; otherwise, false.

See Also