ITaskItem2.SetMetadataValueLiteral(String, String) ITaskItem2.SetMetadataValueLiteral(String, String) ITaskItem2.SetMetadataValueLiteral(String, String) ITaskItem2.SetMetadataValueLiteral(String, String) Method

Definition

Allows a piece of custom metadata to be set on the item. Assumes that the value passed in is unescaped, and escapes the value as necessary in order to maintain its value.

public:
 void SetMetadataValueLiteral(System::String ^ metadataName, System::String ^ metadataValue);
public void SetMetadataValueLiteral (string metadataName, string metadataValue);
abstract member SetMetadataValueLiteral : string * string -> unit
Public Sub SetMetadataValueLiteral (metadataName As String, metadataValue As String)

Parameters

metadataName
String String String String

The metadata name.

metadataValue
String String String String

The metadata value.

Remarks

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

Applies to