Skip to main content
.NET 8.0+

IModelNode.HasValue(String) Method

Indicates whether the node’s property has a value assigned.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

bool HasValue(
    string name
)

Parameters

Name Type Description
name String

A string holding the name of the specific property.

Returns

Type Description
Boolean

true, if the node has a value assigned; otherwise, false.

Remarks

If name is a null reference or an empty string, an exception is thrown.

See Also