次の方法で共有


IVbcHostObject.SetReferences(ITaskItem[]) Method

Definition

Specifies the items from which to import public type information into the current project.

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

Parameters

references
ITaskItem[]

The items from which to import public type information into the current project.

Returns

true if the method was successful; otherwise, false.

Applies to