Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VariantsInfo.TryGetItem(String, out VariantInfo) Method

Returns a VariantInfo object having the specified VariantInfo.Id identifier via the result parameter.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

Assembly: DevExpress.ExpressApp.ViewVariantsModule.v24.2.dll

#Declaration

public bool TryGetItem(
    string id,
    out VariantInfo result
)

#Parameters

Name Type Description
id String

A string representing the identifier of the required view variant.

result VariantInfo

A VariantInfo object having the specified VariantInfo.Id identifier.

#Returns

Type Description
Boolean

true, if the required view variant is found; otherwise - false.

See Also