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

EditingFieldExtensionsWin.TryGetRepositoryItem(String, out RepositoryItem) Method

Attempts to obtain a repository item by the specified name.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v20.2.dll

NuGet Package: 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