combit List & Label 24 - .NET Online Web Help
ValueFieldName Property


combit.ListLabel24.DataProviders Namespace > XmlDataProvider Class : ValueFieldName Property

Gets or sets the field name to be used for the actual value. While attributes are a convenient way to name values, the XML structure may also contain tags like

<Person Age="27">John Doe</Person>

This property determines the field name for "John Doe", in this case, "Name" would be appropriate as value. The default value for this property is "value".

Please note that this property has to be set before you pass the provider as data source to List & Label.

Syntax
'Declaration
 
Public Property ValueFieldName As String
public string ValueFieldName {get; set;}
public:
property String^ ValueFieldName {
   String^ get();
   void set (    String^ value);
}
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

XmlDataProvider Class
XmlDataProvider Members