ASPxTreeList.FindNodeByFieldValue(String, Object) Method
Returns a node by its value in the specified column.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public TreeListNode FindNodeByFieldValue(
string fieldName,
object value
)
#Parameters
Name | Type | Description |
---|---|---|
field |
String | A String value that identifies the data column by the name of the data field. |
value | Object | An object that represents the search value. |
#Returns
Type | Description |
---|---|
Tree |
A Tree |
#Remarks
The FindNodeByFieldValue method returns the first node found that contains the specified value in the specified column. To obtain all nodes that contain the specified value in the specified column, use the ASPxTreeList.FindNodesByFieldValue method.
To learn more, see Nodes.