共用方式為


IVbcHostObject.SetLinkResources(ITaskItem[]) Method

Definition

Creates links to the specified .NET Framework resources in the output file; the resource files are not placed in the output file.

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

Parameters

linkResources
ITaskItem[]

The .NET Framework resources to link to the output file.

Returns

true if the method was successful; otherwise, false.

Applies to