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

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

Try to get a bool field.
public tryBool ( string name, ushort fid, bool &result ) : bool
name string
fid ushort
result bool
Результат bool
        public bool tryBool(
			string name,
			ushort fid,
			ref bool result)
        {
            EnsurePeerCreated();
            bool val = false;
            int code = NativeMethods.mamaMsg_getBool(nativeHandle, name, fid, ref val);
            if (CheckResultCodeIgnoreNotFound(code) != MamaStatus.mamaStatus.MAMA_STATUS_OK)
            {
                return false;
            }
            result = val;
            return true;
        }

Same methods

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