ITaskItem.SetMetadata(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.
Allows a piece of custom metadata to be set on 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
The name of the metadata to set.
- metadataValue
- String
The metadata value.