IVbcHostObject.SetImports(ITaskItem[]) Method

Definition

Specifies the namespaces to import.

public:
 bool SetImports(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ importsList);
public bool SetImports (Microsoft.Build.Framework.ITaskItem[] importsList);
abstract member SetImports : Microsoft.Build.Framework.ITaskItem[] -> bool
Public Function SetImports (importsList As ITaskItem()) As Boolean

Parameters

importsList
ITaskItem[]

The namespaces to import.

Returns

true if the method was successful; otherwise, false.

Applies to