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