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