Back to Devexpress

RepositoryItemCollection.Item[String] Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemcollection-dot-item-x28-system-dot-string-x29.md

latest2.0 KB
Original Source

RepositoryItemCollection.Item[String] Property

Gets the repository item specified by its name.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual RepositoryItem this[string name] { get; }
vb
Public Overridable ReadOnly Property Item(name As String) As RepositoryItem

Parameters

NameTypeDescription
nameString

A String value specifying the name of the desired repository item.

|

Property Value

TypeDescription
RepositoryItem

A RepositoryItem descendant representing the repository item with the specified name. null ( Nothing in Visual Basic) if the collection doesn’t contain the specified item.

|

Remarks

Note:t you can access repository items in code directly by their names.

See Also

IndexOf(RepositoryItem)

RepositoryItemCollection Class

RepositoryItemCollection Members

DevExpress.XtraEditors.Repository Namespace