ITaskItem.SetMetadata(String, String) ITaskItem.SetMetadata(String, String) ITaskItem.SetMetadata(String, String) ITaskItem.SetMetadata(String, String) Method

Definition

Adds or changes a custom metadata entry to the item.

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

Parameters

metadataName
String String String String

The name of the metadata entry.

metadataValue
String String String String

The value of the metadata entry.

Applies to