TaskItem<T>.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.
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:
virtual void SetMetadataValueLiteral(System::String ^ metadataName, System::String ^ metadataValue);
public void SetMetadataValueLiteral(string metadataName, string metadataValue);
abstract member SetMetadataValueLiteral : string * string -> unit
override this.SetMetadataValueLiteral : string * string -> unit
Public Sub SetMetadataValueLiteral (metadataName As String, metadataValue As String)
Parameters
- metadataName
- String
The metadata name.
- metadataValue
- String
The metadata value.