IVbcHostObject.SetImports(ITaskItem[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.