# ActionLaunchWinAttrs

## Content

# Class: ActionLaunchWinAttrs

Defines windows-specific launch parameters for [ActionLaunch](ActionLaunch).

## Extends

- [`ObjectBase`](ObjectBase)

## Constructors

### Constructor

```ts
new ActionLaunchWinAttrs(om): ActionLaunchWinAttrs;
```

Creates a new ActionLaunchWinAttrs.

#### Parameters

##### om

[`ObjectManager`](ObjectManager)

[ObjectManager](ObjectManager) that controls the lifetime.

#### Returns

`ActionLaunchWinAttrs`

#### Overrides

```ts
ObjectBase.constructor
```

### Constructor

```ts
new ActionLaunchWinAttrs(): ActionLaunchWinAttrs;
```

Creates a new ActionLaunchWinAttrs.

#### Returns

`ActionLaunchWinAttrs`

#### Overrides

```ts
ObjectBase.constructor
```

## Accessors

### directory

#### Get Signature

```ts
get directory(): string;
```

Gets or sets the directory in standard DOS syntax.

##### Returns

`string`

***

### fileName

#### Get Signature

```ts
get fileName(): string;
```

Gets or sets the file name of the application to be launched or the document to be opened or printed,
in standard Windows pathname format.

##### Returns

`string`

***

### id

#### Get Signature

```ts
get id(): number;
```

Gets the reference to the object.

##### Returns

`number`

#### Inherited from

[`ObjectBase`](ObjectBase).[`id`](ObjectBase#id)

***

### om

#### Get Signature

```ts
get om(): ObjectManager;
```

Gets the owner [ObjectManager](ObjectManager) instance.

##### Returns

[`ObjectManager`](ObjectManager)

#### Inherited from

[`ObjectBase`](ObjectBase).[`om`](ObjectBase#om)

***

### operation

#### Get Signature

```ts
get operation(): WinAttrsOperationType;
```

Gets or sets the operation to perform.

##### Returns

[`WinAttrsOperationType`](../enumerations/WinAttrsOperationType)

***

### parameter

#### Get Signature

```ts
get parameter(): string;
```

Gets or sets the parameter to be passed to the application.

##### Returns

`string`

## Methods

### free()

```ts
free(): void;
```

Detaches the object from the [ObjectManager](ObjectManager) and deallocates its memory, if possible.

#### Returns

`void`

#### Inherited from

[`ObjectBase`](ObjectBase).[`free`](ObjectBase#free)

***

### rebind()

```ts
rebind(omTo): void;
```

Rebinds the object from the current [ObjectManager](ObjectManager) to the specified one.

#### Parameters

##### omTo

[`ObjectManager`](ObjectManager)

The new [ObjectManager](ObjectManager) for the object.

#### Returns

`void`

#### Inherited from

[`ObjectBase`](ObjectBase).[`rebind`](ObjectBase#rebind)
