/// <summary> /// Set a bool vector /// </summary> /// <param name="value">The new value to set.</param> public void SetBoolVector(bool[] value) { PropVariant propVar; PropVariantNativeMethods.InitPropVariantFromBooleanVector(value, (uint)value.Length, out propVar); CopyData(propVar); }
/// <summary> /// Set a bool vector /// </summary> public PropVariant(bool[] value) { if (value == null) { throw new ArgumentNullException(nameof(value)); } PropVariantNativeMethods.InitPropVariantFromBooleanVector(value, (uint)value.Length, this); }