Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip.Sfx Namespace / ExtensionAssociationList Class / Add Method / Add(ExtensionAssociation) Method
A reference to the ExtensionAssociation object to add to the list.


In This Topic
    Add(ExtensionAssociation) Method
    In This Topic
    Adds an extension association to the list.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal value As ExtensionAssociation _
    ) As Integer
    'Usage
     
    Dim instance As ExtensionAssociationList
    Dim value As ExtensionAssociation
    Dim value As Integer
     
    value = instance.Add(value)
    public int Add( 
       ExtensionAssociation value
    )

    Parameters

    value
    A reference to the ExtensionAssociation object to add to the list.

    Return Value

    The zero-based index at which the extension association was added.
    Remarks
    The current EXE extension association should not be modified. Changing this association can prevent applications from running properly.
    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