Skip to main content
.NET Framework 4.6.2+

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