/// <summary> /// Set a double vector /// </summary> /// <param name="value">The new value to set.</param> public void SetDoubleVector(double[] value) { PropVariant propVar; Propsys.InitPropVariantFromDoubleVector(value, (uint)value.Length, out propVar); CopyData(propVar); }
/// <summary> /// Set a double /// </summary> /// <param name="value">The new value to set.</param> public void SetDouble(double value) { double[] valueArr = new double[] { value }; PropVariant propVar; Propsys.InitPropVariantFromDoubleVector(valueArr, 1, out propVar); CreatePropVariantFromVectorElement(propVar); }