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

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

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

Same methods

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