VariantsInfo.TryGetItem(String, out VariantInfo) Method
In This Article
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
NuGet Package: DevExpress.ExpressApp.ViewVariantsModule
#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 | Variant |
A Variant |
#Returns
Type | Description |
---|---|
Boolean | true, if the required view variant is found; otherwise - false. |
See Also