//===========================================================================================
        protected void WriteGetValue(IndentedTextWriter writer, PropertyInfo property)
        {
            string typeName    = MagickNET.GetCppTypeName(property);
            string xsdTypeName = MagickNET.GetXsdAttributeType(property);

            if (xsdTypeName != null)
            {
                WriteGetElementValue(writer, typeName, "value");
            }
            else
            {
                WriteCreateMethod(writer, typeName);
                writer.Write("(");
                WriteSelectElement(writer, typeName, null);
                writer.WriteLine(");");
            }
        }