Wombat.MamaMsg.tryVectorF64 C# (CSharp) Метод

tryVectorF64() публичный Метод

Try to get a vector of 64 bit floating point numbers.
public tryVectorF64 ( string name, ushort fid, double &result ) : bool
name string
fid ushort
result double
Результат bool
        public bool tryVectorF64(
			string name, 
			ushort fid,
			ref double[] result)
        {
            EnsurePeerCreated();
            IntPtr array = IntPtr.Zero;
            uint size = 0;
            int code = NativeMethods.mamaMsg_getVectorF64(nativeHandle, name, fid,ref array, ref size);
            if (CheckResultCodeIgnoreNotFound(code) != MamaStatus.mamaStatus.MAMA_STATUS_OK)
            {
                return false;
            }
            double[] val = new double[size];
            Marshal.Copy(array, val, 0, (int)size);

            result = val;
            return true;
        }

Same methods

MamaMsg::tryVectorF64 ( Wombat.MamaFieldDescriptor descriptor, double &result ) : bool
MamaMsg