Xceed .NET Libraries Documentation
Add(String,String,String) Method


Xceed.Zip Assembly > Xceed.Zip.Sfx Namespace > ExtensionAssociationList Class > Add Method : Add(String,String,String) Method
The extension to associate.
The application to associate the extension with.
The description of the extension association.
Adds an extension association to the list specifying to which application to associate the specified extension.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal extension As String, _
   ByVal application As String, _
   ByVal description As String _
) As Integer
'Usage
 
Dim instance As ExtensionAssociationList
Dim extension As String
Dim application As String
Dim description As String
Dim value As Integer
 
value = instance.Add(extension, application, description)
public int Add( 
   string extension,
   string application,
   string description
)

Parameters

extension
The extension to associate.
application
The application to associate the extension with.
description
The description of the extension association.

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

Reference

ExtensionAssociationList Class
ExtensionAssociationList Members
Overload List