Exclude Property

Visual Studio .NET 2003

Specifies if a file is excluded from an application (.app), dynamic link library (.dll), or executable file (.exe) when it is built from a project. Available at design time and run time.

Object.Exclude[ = lExpression]

Property Values

Specifies if the file is excluded from an .app, .dll, or .exe when it is built. If lExpression is true (.T.), the file is excluded; otherwise the file is included.

The file type determines the default value for lExpression. For example, tables are automatically excluded when added to a project.


Excluded files appear with a slashed circle before their names in the Project Manager. Excluded files are listed in the Project Manager window for your reference, but you must manually distribute them if the application needs them. You can also exclude a file by choosing Exclude in the Project menu.

See Also

Build Method

Applies To: File Object