Wombat.MamaMsg.getVectorPrice C# (CSharp) Method

getVectorPrice() public method

Get a vector of prices.
public getVectorPrice ( string name, ushort fid ) : Wombat.MamaPrice[]
name string
fid ushort
return Wombat.MamaPrice[]
        public MamaPrice[] getVectorPrice(
			string name, 
			ushort fid)
        {
            // Returns
            MamaPrice[] ret = null;

            // Try to get the vector
            bool tvs = tryVectorPrice(name, fid, ref ret);

            // Throw an exception if it could not be found
            if (!tvs)
            {
                throw new MamaException((MamaStatus.mamaStatus)MamaStatus.mamaStatus.MAMA_STATUS_NOT_FOUND);
            }

            return ret;
        }

Same methods

MamaMsg::getVectorPrice ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaPrice[]
MamaMsg::getVectorPrice ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice[]
MamaMsg::getVectorPrice ( string name, ushort fid, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice[]
MamaMsg