NAnt SDK Documentation - v0.92 |

# AxImpTask Class

Generates a Windows Forms Control that wraps ActiveX Controls defined in an OCX.

For a list of all members of this type, see AxImpTask Members.

System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.Core.Tasks.ExternalProgramBase
NAnt.Win32.Tasks.AxImpTask

[Visual Basic]
<ProgramLocation(LocationType:=LocationType.FrameworkSdkDir), _ TaskName(Name:="aximp")>
Public Class AxImpTask
Inherits ExternalProgramBase
[C#]
[ProgramLocation(LocationType=LocationType.FrameworkSdkDir)]
[TaskName(Name="aximp")]
public class AxImpTask : ExternalProgramBase

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Example

    <aximp ocx="MyControl.ocx" output="MyFormsControl.dll" />

#### Requirements

Namespace: NAnt.Win32.Tasks

Assembly: NAnt.Win32Tasks (in NAnt.Win32Tasks.dll)

#### See Also

AxImpTask Members | NAnt.Win32.Tasks Namespace