Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.PropertyGrid.Attributes Namespace / ItemCollection Class / Add Method / Add(Object,String) Method
The value to add.
The display name of the item to use.


In This Topic
    Add(Object,String) Method
    In This Topic
    Adds an object to the ItemCollection, specifying it display name.
    Syntax
    'Declaration
     
    Public Overloads Sub Add( _
       ByVal value As Object, _
       ByVal displayName As String _
    ) 
    'Usage
     
    Dim instance As ItemCollection
    Dim value As Object
    Dim displayName As String
     
    instance.Add(value, displayName)
    public void Add( 
       object value,
       string displayName
    )

    Parameters

    value
    The value to add.
    displayName
    The display name of the item to use.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also