InitPropVariantFromUInt16Vector() private method

private InitPropVariantFromUInt16Vector ( [ prgn, uint cElems, [ ppropvar ) : void
prgn [
cElems uint
ppropvar [
return void
Esempio n. 1
0
        /// <summary>
        /// Set a short vector
        /// </summary>
        public PropVariant(ushort[] value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

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