共用方式為


ProjectItemInstance.ITaskItem.SetMetadata(String, String) Method

Definition

ITaskItem implementation

 virtual void Microsoft.Build.Framework.ITaskItem.SetMetadata(System::String ^ metadataName, System::String ^ metadataValue) = Microsoft::Build::Framework::ITaskItem::SetMetadata;
void ITaskItem.SetMetadata (string metadataName, string metadataValue);
abstract member Microsoft.Build.Framework.ITaskItem.SetMetadata : string * string -> unit
override this.Microsoft.Build.Framework.ITaskItem.SetMetadata : string * string -> unit
Sub SetMetadata (metadataName As String, metadataValue As String) Implements ITaskItem.SetMetadata

Parameters

metadataName
String

Metadata name to be added or changed.

metadataValue
String

Metadata value to be added or changed.

Implements

Applies to