Udostępnij za pośrednictwem


TaskItem.ITaskItem2.SetMetadataValueLiteral(String, String) Method

Definition

Sets the escaped value of the metadata with the specified name.

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

Parameters

metadataName
String

The metadata name.

metadataValue
String

The metadata value.

Implements

Applies to