Setting Multi-value vs. Single-value Properties

Multi-value and single-value properties are set using different signatures of Node.setProperty and Property.setValue. Multi-value properties must set using the signatures that take either a Value[] or String[]. Single value properties must be set using the signatures that take non-array value arguments. An attempt to set a multi-value property with a non-array value argument, or a single-value property with an array value argument, will throw a ValueFormatException.