//For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// create XmpBoolean from string
XmpBoolean xmpBoolean = new XmpBoolean("True");
// create XmpBoolean using .NET bool
XmpBoolean xmpBoolean2 = new XmpBoolean(true);
// values should be equal
if (xmpBoolean.Value == xmpBoolean2.Value)
{
Console.WriteLine("Equals!");
}