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

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

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

Same methods

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