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