다음을 통해 공유


ProjectItemInstance.ITaskItem2.SetMetadataValueLiteral(String, String) Method

Definition

ITaskItem2 implementation

 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

Remarks

Taking the opportunity to fix the property name, although this doesn't make it obvious it's an improvement on SetMetadata.

Applies to