combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / XmlDataProvider Class / ValueFieldName Property


In This Topic
    ValueFieldName Property
    In This Topic

    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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also