src/MICore/MIResults.cs
/// <summary>
/// Try and find an address property. Returns null if there is no property. Will throw if that property exists but it is not an address.
/// </summary>
/// <param name="name">[Required] Name of the property to look for</param>
/// <returns>The value of the address or null if it can't be found</returns>
Try and find an address property. Returns null if there is no property. Will throw if that property exists but it is not an address.
Try and find an address property . Returns null if there is no property . Will throw if that property exists but it is not an address .
public ulong? TryFindAddr(string name)
        {
            ConstValue c;
            if (!TryFind(name, out c))
            {
                return null;
            }
            try
            {
                return c.ToAddr;
            }
            catch (MIResultFormatException)
            {
                throw;
            }
            catch (Exception e)
            {
                throw new MIResultFormatException(name, this, e);
            }
        }
public ulong ? TryFindAddr ( string name ) { ConstValue c ; if ( ! TryFind ( name , out c ) ) { return null ; } try { return c . ToAddr ; } catch ( MIResultFormatException ) { throw ; } catch ( Exception e ) { throw new MIResultFormatException ( name , this , e ) ; } }
Try and find an address property.
Try and find an address property .
The value of the address or null if it can't be found
The value of the address or null if it can ' t be found
name
string
[Required] Name of the property to look for
[ Required ] Name of the property to look for