laptop and a wrench

Bogue

Need documentation on usage of FindValueByNode method in the TreeViewPlus class of the .NET Web ADF Reference.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM011389
EnvoiAugust 31, 2007
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvée9.2
Langue du programmeC#
Version de correction9.3
StatutFixed

Solution de contournement

The valuepath string sytax for FindValueByNode method : "<resourcename>" or "<resourcename>/<layerid>"Sample Code to find all possible valuepaths for a given TOC Control:C#:===foreach (TreeViewPlusNode t1 in Toc1.Nodes){ // get value path of earch resource if needed string rvp = t1.ValuePath; //get the name of the resource string rname = t1.Text foreach (TreeViewPlusNode t2 in t1.Nodes) { //get the valuepath of each layer inside the resource string vpath = t2.ValuePath; //get the name of layer string layername = t2.Text; }}

Étapes pour reproduire

ID de bogue: NIM011389

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement