InitPropVariantFromInt32Vector() private method

private InitPropVariantFromInt32Vector ( [ prgn, uint cElems, [ propVar ) : void
prgn [
cElems uint
propVar [
return void
Example #1
0
        /// <summary>
        /// Set an int vector
        /// </summary>
        public PropVariant(int[] value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

            PropVariantNativeMethods.InitPropVariantFromInt32Vector(value, (uint)value.Length, this);
        }