ProjectItemInstance.ITaskItem2.SetMetadataValueLiteral(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.