Wombat.MamaMsg.getVectorString C# (CSharp) Method

getVectorString() public method

Get a vector of strings (char*).
/// Thrown if the vector could not be found. ///
public getVectorString ( string name, ushort fid ) : string[]
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
return string[]
        public string[] getVectorString(
			string name, 
			ushort fid)
        {
            // Returns
            string[] ret = null;

            // Try to get the vector
            bool tvs = tryVectorString(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::getVectorString ( Wombat.MamaFieldDescriptor descriptor ) : string[]
MamaMsg::getVectorString ( Wombat.MamaFieldDescriptor descriptor, string valueIfMissing ) : string[]
MamaMsg::getVectorString ( string name, ushort fid, string valueIfMissing ) : string[]
MamaMsg