ProjectItemDefinition.SetMetadataValue(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.
Sets a new metadata value on the ItemDefinition.
public:
Microsoft::Build::Evaluation::ProjectMetadata ^ SetMetadataValue(System::String ^ name, System::String ^ unevaluatedValue);
public Microsoft.Build.Evaluation.ProjectMetadata SetMetadataValue (string name, string unevaluatedValue);
member this.SetMetadataValue : string * string -> Microsoft.Build.Evaluation.ProjectMetadata
Public Function SetMetadataValue (name As String, unevaluatedValue As String) As ProjectMetadata
Parameters
- name
- String
The name of the metadata to set.
- unevaluatedValue
- String
The new unevaluated value of the metadata.
Returns
The metadata with the given name.
Remarks
Unevaluated value is assumed to be escaped as necessary