Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip.Sfx Namespace / ProgramGroupItemList Class / Add Method / Add(String,String) Method
The description of the program group item.
The path and name of the file to open when selected.


In This Topic
    Add(String,String) Method
    In This Topic
    Adds a program group item to the list specifying its description and the file which it opens.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal description As String, _
       ByVal fileToOpen As String _
    ) As Integer
    'Usage
     
    Dim instance As ProgramGroupItemList
    Dim description As String
    Dim fileToOpen As String
    Dim value As Integer
     
    value = instance.Add(description, fileToOpen)
    public int Add( 
       string description,
       string fileToOpen
    )

    Parameters

    description
    The description of the program group item.
    fileToOpen
    The path and name of the file to open when selected.

    Return Value

    The zero-based index at which the program group item was added.
    Requirements

    Target Platforms: 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