BExplorer.Shell.Interop.PropVariantNativeMethods.InitPropVariantFromDoubleVector C# (CSharp) Method

InitPropVariantFromDoubleVector() private method

private InitPropVariantFromDoubleVector ( [ prgn, uint cElems, [ propvar ) : void
prgn [
cElems uint
propvar [
return void
		internal static extern void InitPropVariantFromDoubleVector([In, Out] double[] prgn, uint cElems, [Out] PropVariant propvar);

Usage Example

Beispiel #1
0
        /// <summary>>
        /// Set a double vector
        /// </summary>
        public PropVariant(double[] value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

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